>  
> +             g_tree_search(tree, (GCompareFunc)tree_search_func, &user_data);
> +             list = g_tree_lookup(tree, 
> GINT_TO_POINTER(user_data.found_line));

should this rather be guarded to whether search succeeded?  `if 
(g_tree_search(tree, ...)) { list = lookup() ... }`

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/797/files#r48275077

Reply via email to