diff options
author | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2008-11-11 20:51:54 +0000 |
---|---|---|
committer | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2008-11-11 20:51:54 +0000 |
commit | 942beff30d10baec95274eed06e1d995538c7f48 (patch) | |
tree | 216cadf026616b5d25e347bdd83f98388528e2ae /metacontacts/meta_main.c | |
parent | 8035bc92d5ad9ca0ad85aabb32b99f223e63cf15 (diff) |
fix for a possible memory corruption
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@429 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'metacontacts/meta_main.c')
-rw-r--r-- | metacontacts/meta_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/metacontacts/meta_main.c b/metacontacts/meta_main.c index 5a526c1..f8184e0 100644 --- a/metacontacts/meta_main.c +++ b/metacontacts/meta_main.c @@ -239,7 +239,8 @@ int __declspec(dllexport)Load(PLUGINLINK *link) DBVARIANT dbv;
if (DBGetContactSetting(NULL, "KnownModules", META_PROTO, &dbv))
DBWriteContactSettingString(NULL, "KnownModules", META_PROTO, META_PROTO);
- DBFreeVariant(&dbv);
+ else
+ DBFreeVariant(&dbv);
}
ZeroMemory(&pd,sizeof(pd));
|