sealed possible memory leak when WCFilterGROUP is created.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user