Merge lp://qastaging/~gordallott/unity/u-p-s-segfaulting-fix into lp://qastaging/unity/4.0
Proposed by
Gord Allott
Status: | Merged |
---|---|
Merged at revision: | 1713 |
Proposed branch: | lp://qastaging/~gordallott/unity/u-p-s-segfaulting-fix |
Merge into: | lp://qastaging/unity/4.0 |
Diff against target: |
16 lines (+4/-1) 1 file modified
services/panel-service.c (+4/-1) |
To merge this branch: | bzr merge lp://qastaging/~gordallott/unity/u-p-s-segfaulting-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Unity Team | Pending | ||
Review via email:
|
This proposal supersedes a proposal from 2011-10-13.
Description of the change
fixes the panel service segfaulting, but leaves in a memory leak (fixing the mem leak caused the problem)
leaks one IndicatorObject
To post a comment you must log in.
the actual diff, lp-propose-merge proposed against trunk instead of 4.0
=== modified file 'services/ panel-service. c' panel-service. c 2011-10-11 14:58:32 +0000 panel-service. c 2011-10-13 15:56:29 +0000
--- services/
+++ services/
@@ -1160,8 +1160,11 @@
if (entry2geometry _hash == NULL)
entry2geo metry_hash = g_hash_ table_new_ full (g_direct_hash, g_direct_equal,
g_ hash_table_ insert (priv-> panel2entries_ hash, g_strdup (panel_id),
entry2geo metry_hash) ;
{
+ //FIXME - this leaks memory but i'm not 100% on the logic,
+ // using g_free as the keys destructor function causes all
+ // kinds of problems
- g_free, g_free);
+ NULL, g_free);
}