Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d6e0cf
)
ecere/sys/JSON: Fixed leak with color strings
author
Jerome St-Louis
<jerome@ecere.com>
Thu, 21 Apr 2016 08:14:14 +0000
(
04:14
-0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Thu, 28 Jul 2016 21:35:19 +0000
(17:35 -0400)
ecere/src/sys/JSON.ec
patch
|
blob
|
history
diff --git
a/ecere/src/sys/JSON.ec
b/ecere/src/sys/JSON.ec
index
e076c82
..
592a840
100644
(file)
--- a/
ecere/src/sys/JSON.ec
+++ b/
ecere/src/sys/JSON.ec
@@
-78,6
+78,7
@@
public:
else if(type && eClass_IsDerived(type, class(ColorAlpha)))
{
result = GetColorAlpha(string, value);
+ delete string;
}
else if(type && (type.type == structClass))
{