~sjakthol/compiz/fix-1071689

« back to all changes in this revision

Viewing changes to compizconfig/gsettings/gsettings_backend_shared/gsettings_util.c

  • Committer: Tarmac
  • Author(s): MC Return
  • Date: 2012-11-16 17:50:24 UTC
  • mfrom: (3472.1.1 compiz)
  • Revision ID: tarmac-20121116175024-8e0qfsnugknb3v7l
Hopefully fixed mismatching allocation and deallocation of pathOrig by using 'free (pathOrig);' instead of 'g_free (pathOrig);' in updateSettingWithGSettingsKeyName (...).

Approved by Sam Spilsbury.

Show diffs side-by-side

added added

removed removed

Lines of Context:
265
265
         ret = FALSE;
266
266
    }
267
267
 
268
 
    g_free (pathOrig);
 
268
    free (pathOrig);
269
269
 
270
270
    if (uncleanKeyName)
271
271
        g_free (uncleanKeyName);