aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Szymon Tomasz Stefanek2015-12-26 04:54:12 +0100
committerGravatar Szymon Tomasz Stefanek2015-12-26 04:54:12 +0100
commit33eedb9163abb7d7abf3ae4c8d4244b0bb781003 (patch)
treeae5c3b6e5f8a31a4fe387c9b2c53104247b4cfb2 /src
parentFix coverity defect 28683 (diff)
downloadKVIrc-33eedb9163abb7d7abf3ae4c8d4244b0bb781003.tar.gz
KVIrc-33eedb9163abb7d7abf3ae4c8d4244b0bb781003.tar.bz2
KVIrc-33eedb9163abb7d7abf3ae4c8d4244b0bb781003.zip
Fix coverity defect 28620
Diffstat (limited to 'src')
-rw-r--r--src/kvilib/core/KviCString.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kvilib/core/KviCString.cpp b/src/kvilib/core/KviCString.cpp
index 177910acc..352668670 100644
--- a/src/kvilib/core/KviCString.cpp
+++ b/src/kvilib/core/KviCString.cpp
@@ -2711,6 +2711,7 @@ KviCString & KviCString::vsprintf(const char *fmt,kvi_va_list list)
//now m_len is the length of the written string not including the terminator...
//perfect! :)
m_ptr=(char *)KviMemory::reallocate(m_ptr,m_len+1);
+ kvi_va_end(save);
return (*this);
}