]> git.tdb.fi Git - ext/subsurface.git/blobdiff - info.c
Merge branch 'suit' of git://git.hohndel.org/subsurface
[ext/subsurface.git] / info.c
diff --git a/info.c b/info.c
index 09d61c83544756f92dca1643585d302a38392a33..a28e793905f1b4784a5d3d75077d90e5da1b00e7 100644 (file)
--- a/info.c
+++ b/info.c
@@ -243,6 +243,8 @@ static gboolean match_string_entry(GtkTreeModel *model, GtkTreePath *path, GtkTr
 
        gtk_tree_model_get(model, iter, 0, &entry, -1);
        cmp = strcmp(entry, string);
+       if (entry)
+               free(entry);
 
        /* Stop. The entry is bigger than the new one */
        if (cmp > 0)