fix(clipboard): memory leak for pixbuf

This commit is contained in:
Jeremy Attali 2020-01-05 23:10:50 -05:00
parent f963a76c5c
commit 665295b497

View File

@ -86,6 +86,7 @@ bool clipboard_copy_drawing_area_to_selection(struct swappy_state *state) {
char message[MAX_PATH];
snprintf(message, MAX_PATH, "Swappshot copied to clipboard\n");
notification_send("Swappy", message);
g_object_unref(pixbuf);
return true;
}