mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-28 00:06:20 -04:00
Check if parameter is NULL in plugins which only works as viewer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22083 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
221cae987f
commit
37dd46e92f
4 changed files with 4 additions and 0 deletions
|
|
@ -180,6 +180,7 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
{
|
||||
char *buf;
|
||||
int rc;
|
||||
if(!parameter) return PLUGIN_ERROR;
|
||||
|
||||
filename = (char *)parameter;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue