[vlc-commits] osx notifications: Do not leak input item object

David Fuhrmann git at videolan.org
Tue Apr 16 00:01:39 CEST 2019


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Mon Apr 15 23:59:00 2019 +0200| [0a7be713b7d5ea6115bb58f4d65cf448414995aa] | committer: David Fuhrmann

osx notifications: Do not leak input item object

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0a7be713b7d5ea6115bb58f4d65cf448414995aa
---

 modules/notify/osx_notifications.m | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/notify/osx_notifications.m b/modules/notify/osx_notifications.m
index d61131a77c..7f6d26e712 100644
--- a/modules/notify/osx_notifications.m
+++ b/modules/notify/osx_notifications.m
@@ -263,6 +263,8 @@ static inline NSString* CharsToNSString(char * _Nullable cStr)
     
     // Notify!
     [self notifyWithTitle:title description:desc imagePath:artPath];
+
+    input_item_Release(inputItem);
 }
 
 /*



More information about the vlc-commits mailing list