Fix a memleak

This commit is contained in:
Matthias Clasen
2006-07-23 20:11:28 +00:00
parent a7cb33db4a
commit aa5edeb2e0
3 changed files with 12 additions and 0 deletions

View File

@ -1289,6 +1289,8 @@ gtk_print_settings_get_page_ranges (GtkPrintSettings *settings,
ranges[i].end = end;
}
g_strfreev (range_strs);
*num_ranges = n;
return ranges;
}