@@ -136,6 +136,8 @@ Form* Form::create(const char* url)
__forms.push_back(form);
+ SAFE_DELETE(properties);
+
return form;
}
@@ -97,6 +97,7 @@ Properties* Properties::create(const char* url)
if (!p)
{
GP_WARN("Failed to load properties from url '%s'.", url);
return NULL;