- if(!gtk_tree_selection_path_is_selected(s, path))
- return FALSE;
- /* We block subsequent selection changes and remember where the
- * click was */
- block_selection(w, FALSE, event->x, event->y);
+ if(gtk_tree_selection_path_is_selected(s, path)) {
+ /* We block subsequent selection changes and remember where the
+ * click was */
+ block_selection(w, FALSE, event->x, event->y);
+ }
+ if(path)
+ gtk_tree_path_free(path);