~sil2100/compiz/fix_ftbfs_arm_boost

Viewing all changes in revision 3460.

Hopefully fixed a memory leak in void update_frames_shadows (gpointer key, gpointer value, gpointer user_data).
The pointer *opts allocates a memory block and stores the adress, but if the pointer *info fails later this memory does not get freed.
Solution: Free and NULL opts, if (!info) also.

(LP: #1033879). Fixes: https://bugs.launchpad.net/bugs/1033879. Approved by Daniel van Vugt, Sam Spilsbury.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: