Ecere Software
/
sdk
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ecere/sys/JSON: Fixed leak with color strings
[sdk]
/
ecere
/
src
/
sys
/
JSON.ec
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))
{