git.samba.org
/
jelmer
/
ctrlproxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix memory leak.
[jelmer/ctrlproxy.git]
/
src
/
motd.c
diff --git
a/src/motd.c
b/src/motd.c
index 2084c4580f4cc43917dcb1156da67d80b4f627a9..3f388f9fe7247a649b4587382e952ca28847cd99 100644
(file)
--- a/
src/motd.c
+++ b/
src/motd.c
@@
-56,7
+56,7
@@
char ** get_motd_lines(struct client *c)
lines[nrlines] = NULL;
}
- g_io_channel_
close
(fd);
+ g_io_channel_
unref
(fd);
return lines;
}