Fix memory leaks and format string issues in CDCC

cdcc_numpacks is unsigned, so %u should be used instead of %d.

Fix some memory leaks in /CDCC PLIST and /CDCC NOTICE where malloc_sprintf() was called
and the string never freed.
This commit is contained in:
Kevin Easton
2016-10-14 00:56:03 +11:00
parent 6948d91f6b
commit a7f2462395
2 changed files with 43 additions and 44 deletions

View File

@@ -1,5 +1,7 @@
[Changes 1.2.2]
* Fix memory leaks in /CDCC PLIST and /CDCC NOTICE. (caf)
* Rename reserved identifiers from irc_std.h to fix building on under
latest cygwin. (caf)