mirror of
https://github.com/jtheoof/swappy.git
synced 2024-08-16 18:20:45 +03:00
fix(clipboard): memory leak for pixbuf
This commit is contained in:
parent
f963a76c5c
commit
665295b497
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user