diff --git a/src/widget/systemtrayicon.cpp b/src/widget/systemtrayicon.cpp index f55a767eb..f47d5d986 100644 --- a/src/widget/systemtrayicon.cpp +++ b/src/widget/systemtrayicon.cpp @@ -114,6 +114,8 @@ SystemTrayIcon::SystemTrayIcon() 8, image->width(), image->height(), image->bytesPerLine(), callbackFreeImage, image); + delete image; // Not needed anymore. + statusNotifier = status_notifier_new_from_pixbuf("qtox", STATUS_NOTIFIER_CATEGORY_APPLICATION_STATUS, pixbuf); status_notifier_register(statusNotifier);