projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6ec009
)
fixed mem leak in StringUtils::FormatV
author
wsoltys
<wiso@no.way>
Wed, 2 Oct 2013 19:18:11 +0000
(21:18 +0200)
committer
wsoltys
<wiso@no.way>
Wed, 2 Oct 2013 19:47:56 +0000
(21:47 +0200)
xbmc/utils/StringUtils.cpp
patch
|
blob
|
history
diff --git
a/xbmc/utils/StringUtils.cpp
b/xbmc/utils/StringUtils.cpp
index
a7ed17b
..
21456bf
100644
(file)
--- a/
xbmc/utils/StringUtils.cpp
+++ b/
xbmc/utils/StringUtils.cpp
@@
-99,6
+99,7
@@
string StringUtils::FormatV(const char *fmt, va_list args)
cstr = new_cstr;
}
+ free(cstr);
return "";
}