Fixes big memory leak
This commit is contained in:
1 parent
49cb8fa194
commit
927da03270
1 file changed
+1
@@ -371,6 +371,7 @@ public:
|
|||||||
converted[k] = sum;
|
converted[k] = sum;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
delete img;
|
||||||
return converted;
|
return converted;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user