From dd30d71bf2a8284c0ad25b712c9aed7bfe66b030 Mon Sep 17 00:00:00 2001 From: fredrik Date: Sun, 31 Dec 2006 21:32:05 +0000 Subject: [PATCH] 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 --- clients/gtk2/main.c | 1 + 1 file changed, 1 insertion(+) 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) -- 2.11.0