Fix two freshly introduced memory leaks upon alloc failure
Fix two freshly introduced memory leaks upon alloc failure

Found by Coverity Scan.

Fixes CID 303760.
Fixes CID 303761.

libass/libass,ShiftMediaProject/libass,libass/libass,Akemi/libass,xbmc/libass,xbmc/libass,Akemi/libass,astiob/libass,MrSmile/libass,MrSmile/libass,astiob/libass,ShiftMediaProject/libass,Akemi/libass