fixed a crash bug from not initializing properly
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40419
This commit is contained in:
parent
003fa1371e
commit
afd52e1611
@ -213,6 +213,8 @@ void CPlugin::UpdateInfo()
|
|||||||
IPluginContext *base = GetBaseContext();
|
IPluginContext *base = GetBaseContext();
|
||||||
int err = base->FindPubvarByName("myinfo", &idx);
|
int err = base->FindPubvarByName("myinfo", &idx);
|
||||||
|
|
||||||
|
memset(&m_info, 0, sizeof(m_info));
|
||||||
|
|
||||||
if (err == SP_ERROR_NONE)
|
if (err == SP_ERROR_NONE)
|
||||||
{
|
{
|
||||||
struct sm_plugininfo_c_t
|
struct sm_plugininfo_c_t
|
||||||
|
Loading…
Reference in New Issue
Block a user