[vlc-commits] macosx: Fix crash when trying to save metadata for empty item

David Fuhrmann git at videolan.org
Tue Oct 3 12:58:20 CEST 2017


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Tue Oct  3 12:57:47 2017 +0200| [628eb070b08d7a14810ae2cf441204218252c53f] | committer: David Fuhrmann

macosx: Fix crash when trying to save metadata for empty item

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

 modules/gui/macosx/VLCPlaylistInfo.m | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gui/macosx/VLCPlaylistInfo.m b/modules/gui/macosx/VLCPlaylistInfo.m
index 817ed95eed..2ff290952b 100644
--- a/modules/gui/macosx/VLCPlaylistInfo.m
+++ b/modules/gui/macosx/VLCPlaylistInfo.m
@@ -358,6 +358,7 @@ FREENULL( psz_##foo );
         [alert setInformativeText:_NS("VLC was unable to save the meta data.")];
         [alert addButtonWithTitle:_NS("OK")];
         [alert runModal];
+        return;
     }
 
     #define utf8( _blub ) \



More information about the vlc-commits mailing list