Dolda2000 GitWeb
/
doldaconnect.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Unref the model properly after assigning it to the phublist.
[doldaconnect.git]
/
clients
/
gtk2
/
main.c
diff --git
a/clients/gtk2/main.c
b/clients/gtk2/main.c
index
8b99208
..
a8507c7
100644
(file)
--- a/
clients/gtk2/main.c
+++ b/
clients/gtk2/main.c
@@
-1607,6
+1607,7
@@
int pubhubxmlhandler(int op, char *buf, size_t *len)
}
setpubhubmodel(GTK_TREE_MODEL(model), sortcol, numcols - 1, cols, names + 1);
free(cols);
+ g_object_unref(model);
break;
case PHO_FINI:
if(ctxt != NULL)