mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 00:22:17 +02:00
fixed memory leaks with several functions.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2789 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
d68bbeb5ef
commit
2adba92338
5 changed files with 43 additions and 7 deletions
|
|
@ -26,9 +26,15 @@ format_real_length(str, len)
|
|||
char *str
|
||||
int len
|
||||
|
||||
char *
|
||||
void
|
||||
strip_codes(input)
|
||||
char *input
|
||||
PREINIT:
|
||||
char *ret;
|
||||
PPCODE:
|
||||
ret = strip_codes(input);
|
||||
xPUSHs(sv_2mortal(new_pv(ret)));
|
||||
g_free(ret);
|
||||
|
||||
void
|
||||
format_get_text(window, module, server, target, formatnum, ...)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue