mirror of
https://github.com/jtheoof/swappy.git
synced 2024-08-16 18:20:45 +03:00
fix(application): memory leak for pixbuf
This commit is contained in:
parent
665295b497
commit
f9d70fc0e2
@ -228,6 +228,7 @@ static void action_save_area_to_file(struct swappy_state *state) {
|
||||
snprintf(message, len, "%s%s", msg, path);
|
||||
notification_send("Swappy", message);
|
||||
g_free(message);
|
||||
g_object_unref(pixbuf);
|
||||
}
|
||||
|
||||
void save_clicked_handler(GtkWidget *widget, struct swappy_state *state) {
|
||||
|
Loading…
Reference in New Issue
Block a user