]> git.sesse.net Git - vlc/commit
modules: initialize return pointer to NULL
authorJean-Paul Saman <jpsaman@videolan.org>
Thu, 19 Feb 2009 07:30:49 +0000 (08:30 +0100)
committerJean-Paul Saman <jpsaman@videolan.org>
Thu, 19 Feb 2009 17:22:53 +0000 (18:22 +0100)
commit866faad67c52b93f57d1fc32fa155ca12828e869
tree9db9e551158caf1f27215a48bd883c703620e57c
parent63cedb8d9b7235aef2d178f2b2bce369d5eeea47
modules: initialize return pointer to NULL

If module_find() does not find the requested module it would return an uninitialized pointer. This made VLC webplugin crash under MacOS X. Thus make sure to initialize it properly to NULL.
src/modules/modules.c