osx notifications: Do not leak input item object
authorDavid Fuhrmann <dfuhrmann@videolan.org>
Mon, 15 Apr 2019 21:59:00 +0000 (23:59 +0200)
committerDavid Fuhrmann <dfuhrmann@videolan.org>
Mon, 15 Apr 2019 21:59:00 +0000 (23:59 +0200)
modules/notify/osx_notifications.m

index d61131a..7f6d26e 100644 (file)
@@ -263,6 +263,8 @@ static inline NSString* CharsToNSString(char * _Nullable cStr)
     
     // Notify!
     [self notifyWithTitle:title description:desc imagePath:artPath];
+
+    input_item_Release(inputItem);
 }
 
 /*