diff --git a/src/clipboard.c b/src/clipboard.c index e1394b7..5fdaece 100644 --- a/src/clipboard.c +++ b/src/clipboard.c @@ -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; } \ No newline at end of file