Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add FileChooser.SetUri and fix a memory leak of FileChooser.GetFilename #370

Merged
merged 7 commits into from Feb 16, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion gtk/gtk.go.h
Expand Up @@ -271,7 +271,9 @@ static GSList* to_gslist(void* gs) {
}

static void _g_slist_string_full_free(GSList* gs) {
for(GSList* l = gs; l != NULL; l = l->next) {
GSList* l;

for(l = gs; l != NULL; l = l->next) {
Copy link
Owner

@mattn mattn Feb 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please omit () Ah, this is C code. Sorry

g_free(l->data);
}
g_slist_free(gs);
Expand Down