Unref the model properly after assigning it to the phublist.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Sun, 31 Dec 2006 21:32:05 +0000 (21:32 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Sun, 31 Dec 2006 21:32:05 +0000 (21:32 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@794 959494ce-11ee-0310-bf91-de5d638817bd

clients/gtk2/main.c

index 8b99208..a8507c7 100644 (file)
@@ -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)