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:
Timo Sirainen 2002-05-13 17:57:19 +00:00 committed by cras
commit 2adba92338
5 changed files with 43 additions and 7 deletions

View file

@ -58,9 +58,15 @@ dcc_ctcp_message(server, target, chat, notice, msg)
int notice
char *msg
char *
void
dcc_get_download_path(fname)
char *fname
PREINIT:
char *ret;
PPCODE:
ret = dcc_get_download_path(fname);
xPUSHs(sv_2mortal(new_pv(ret)));
g_free(ret);
#*******************************
MODULE = Irssi::Irc::Dcc PACKAGE = Irssi::Irc::Dcc PREFIX = dcc_