if (comp.text && !strcmp(input, comp.text)) {
/* step through the next/prev completion item */
move_cursor(back);
+ g_free(input);
return true;
}
/* if current input isn't the content of the completion item, stop
}
if (!res) {
+ g_free(input);
return false;
}
g_free(value);
g_object_unref(G_OBJECT(store));
+ g_free(input);
return false;
}
}
init_completion(GTK_TREE_MODEL(store), prefix);
show(back);
+ g_free(input);
return true;
}