From: fredrik Date: Sun, 31 Dec 2006 21:32:05 +0000 (+0000) Subject: Unref the model properly after assigning it to the phublist. X-Git-Tag: 0.3~133 X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=dd30d71bf2a8284c0ad25b712c9aed7bfe66b030;p=doldaconnect.git Unref the model properly after assigning it to the phublist. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@794 959494ce-11ee-0310-bf91-de5d638817bd --- diff --git a/clients/gtk2/main.c b/clients/gtk2/main.c index 8b99208..a8507c7 100644 --- 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)