diff options
Diffstat (limited to 'src/gtkutils.c')
-rw-r--r-- | src/gtkutils.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gtkutils.c b/src/gtkutils.c index 8e5c16f1..23e42bec 100644 --- a/src/gtkutils.c +++ b/src/gtkutils.c @@ -535,7 +535,13 @@ gboolean gtkut_tree_row_reference_equal(GtkTreeRowReference *ref1, return FALSE; path1 = gtk_tree_row_reference_get_path(ref1); + if (!path1) + return FALSE; path2 = gtk_tree_row_reference_get_path(ref2); + if (!path2) { + gtk_tree_path_free(path1); + return FALSE; + } result = gtk_tree_path_compare(path1, path2); |