sealed possible memory leak when WCFilterGROUP is created.

This commit is contained in:
techdragon.nguyen@gmail.com
2011-02-13 13:28:25 +00:00
parent 5be429c48f
commit 67026849a6
+2
View File
@@ -59,6 +59,7 @@ WCardFilter * WCFilterFactory::Construct(string src)
else
return g;
}
SAFE_DELETE( g );
}
else
return NEW WCFilterNULL();
@@ -78,6 +79,7 @@ WCardFilter * WCFilterFactory::Construct(string src)
else
return g;
}
SAFE_DELETE( g );
}
else
return NEW WCFilterNULL();