[maemo-commits] [maemo-commits] r17764 - in projects/haf/trunk/libmatchbox2: . matchbox/core
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Fri Mar 20 16:28:42 EET 2009
- Previous message: [maemo-commits] r17763 - in projects/haf/trunk/hildon-thumbnail: . daemon daemon/plugins
- Next message: [maemo-commits] r17765 - in projects/haf/trunk/hildon-thumbnail: . debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: kihamala Date: 2009-03-20 16:28:40 +0200 (Fri, 20 Mar 2009) New Revision: 17764 Modified: projects/haf/trunk/libmatchbox2/ChangeLog projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-layout.c Log: another leak plugged Modified: projects/haf/trunk/libmatchbox2/ChangeLog =================================================================== --- projects/haf/trunk/libmatchbox2/ChangeLog 2009-03-20 14:10:08 UTC (rev 17763) +++ projects/haf/trunk/libmatchbox2/ChangeLog 2009-03-20 14:28:40 UTC (rev 17764) @@ -2,6 +2,8 @@ * matchbox/core/mb-wm-decor.c (mb_wm_decor_button_press_handler): Fix a memory leak in freeing the list of transients. + * matchbox/core/mb-wm-layout.c (mb_wm_layout_real_layout_fullscreen): + Fix an identical list-related memory leak. 2009-03-20 Adam Endrodi <adam.endrodi at blumsoft.eu> Modified: projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-layout.c =================================================================== --- projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-layout.c 2009-03-20 14:10:08 UTC (rev 17763) +++ projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-layout.c 2009-03-20 14:28:40 UTC (rev 17764) @@ -597,7 +597,9 @@ if (mb_wm_client_get_layout_hints (client) == (LayoutPrefFullscreen|LayoutPrefVisible)) { - MBWMList *l = mb_wm_client_get_transients (client); + MBWMList *l, *transients; + + transients = l = mb_wm_client_get_transients (client); mb_wm_client_get_coverage (client, &coverage); @@ -673,7 +675,7 @@ MBWMClientReqGeomIsViaLayoutManager); } - mb_wm_util_list_free (l); + mb_wm_util_list_free (transients); } }
- Previous message: [maemo-commits] r17763 - in projects/haf/trunk/hildon-thumbnail: . daemon daemon/plugins
- Next message: [maemo-commits] r17765 - in projects/haf/trunk/hildon-thumbnail: . debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]