mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-17 00:44:19 +00:00
small fix to the npapi handling code
This commit is contained in:
parent
9c187cafd0
commit
a7a5e8079f
1 changed files with 2 additions and 2 deletions
|
|
@ -595,7 +595,7 @@ public:
|
|||
|
||||
if (numParameters > 0)
|
||||
{
|
||||
NPVariant* params = (NPVariant*) juce_malloc (sizeof (NPVariant*) * numParameters);
|
||||
NPVariant* const params = (NPVariant*) juce_malloc (sizeof (NPVariant) * numParameters);
|
||||
|
||||
int i;
|
||||
for (i = 0; i < numParameters; ++i)
|
||||
|
|
@ -621,7 +621,7 @@ public:
|
|||
browser.releasevariantvalue (&result);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return returnVal;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue