[vlc-commits] macosx: Fix invalid free in renderer discovery initialization

David Fuhrmann git at videolan.org
Tue Jul 18 23:13:36 CEST 2017


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Tue Jul 18 23:11:12 2017 +0200| [b94913df18815a8ec67e2646770c3144b3d57bd3] | committer: David Fuhrmann

macosx: Fix invalid free in renderer discovery initialization

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

 modules/gui/macosx/VLCRendererMenuController.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/VLCRendererMenuController.m b/modules/gui/macosx/VLCRendererMenuController.m
index 90ec15dfcd..57db24f8c3 100644
--- a/modules/gui/macosx/VLCRendererMenuController.m
+++ b/modules/gui/macosx/VLCRendererMenuController.m
@@ -97,7 +97,7 @@
         [dc setDelegate:self];
         [_rendererDiscoveries addObject:dc];
         free(*ppsz_name);
-        free(*ppsz_longnames);
+        free(*ppsz_longname);
     }
     free(ppsz_names);
     free(ppsz_longnames);



More information about the vlc-commits mailing list