projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Fixes NB#91062, fixes a memory leak
[modest]
/
src
/
modest-conf.c
diff --git
a/src/modest-conf.c
b/src/modest-conf.c
index
0fd4858
..
ca7d8be
100644
(file)
--- a/
src/modest-conf.c
+++ b/
src/modest-conf.c
@@
-135,13
+135,16
@@
modest_conf_init (ModestConf *obj)
&error);
/* Notify every change under namespace */
- if (!error)
+ if (!error) {
gconf_client_notify_add (priv->gconf_client,
"/apps/modest",
modest_conf_on_change,
obj,
NULL,
&error);
+ } else {
+ g_error_free (error);
+ }
}
static void