Fix possible crash.
Fix possible crash.

Always allocate, always free.

Comment by Benoit Fouet.


git-svn-id: dadb20beea4d5b8b5b6b8f2825b348fdbb1fb01e@529 d11a7513-620d-0410-9d76-e80dcb6a9808

felipec/libomxil-bellagio,heweiwill/libomxil-bellagio,heweiwill/libomxil-bellagio,felipec/libomxil-bellagio