[maemo-commits] [maemo-commits] r18455 - in projects/haf/trunk/libmatchbox2: . matchbox/core
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Thu May 21 17:23:51 EEST 2009
- Previous message: [maemo-commits] r18454 - in projects/haf/trunk/libmatchbox2: . matchbox/core
- Next message: [maemo-commits] r18456 - in projects/haf/trunk/libmatchbox2: . debian matchbox/core
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: kihamala Date: 2009-05-21 17:23:45 +0300 (Thu, 21 May 2009) New Revision: 18455 Modified: projects/haf/trunk/libmatchbox2/ChangeLog projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client.c Log: free priv member of MBWindowManagerClient Modified: projects/haf/trunk/libmatchbox2/ChangeLog =================================================================== --- projects/haf/trunk/libmatchbox2/ChangeLog 2009-05-21 14:15:47 UTC (rev 18454) +++ projects/haf/trunk/libmatchbox2/ChangeLog 2009-05-21 14:23:45 UTC (rev 18455) @@ -1,5 +1,8 @@ 2009-05-21 Kimmo Hämäläinen <kimmo.hamalainen at nokia.com> + * matchbox/core/mb-wm-client.c (mb_wm_client_destroy): Free priv + member as well. + * matchbox/core/mb-wm-object.c (mb_wm_object_init): Do not allocate ObjectClasses and ObjectClassesInfo every time the function is called. Modified: projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client.c =================================================================== --- projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client.c 2009-05-21 14:15:47 UTC (rev 18454) +++ projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client.c 2009-05-21 14:23:45 UTC (rev 18455) @@ -83,6 +83,12 @@ if (client->transient_for) mb_wm_client_remove_transient (client->transient_for, client); + + if (client->priv) + { + free (client->priv); + client->priv = NULL; + } } static Bool
- Previous message: [maemo-commits] r18454 - in projects/haf/trunk/libmatchbox2: . matchbox/core
- Next message: [maemo-commits] r18456 - in projects/haf/trunk/libmatchbox2: . debian matchbox/core
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]