[mw-devel] [Git][arthur/mw][master] Close the user db when msg_wholist is done with it
Andrew Price
welshbyte at sucs.org
Fri Nov 20 23:41:43 GMT 2015
Andrew Price pushed to branch master at Justin Mitchell / mw
Commits:
08c6e884 by Andrew Price at 2015-11-20T23:40:23Z
Close the user db when msg_wholist is done with it
- - - - -
1 changed file:
- src/server/servsock.c
Changes:
=====================================
src/server/servsock.c
=====================================
--- a/src/server/servsock.c
+++ b/src/server/servsock.c
@@ -734,6 +734,7 @@ ipc_message_t * msg_wholist(void)
}
ipcmsg_json_encode(msg, list);
json_decref(list);
+ close(users_fd);
return msg;
}
View it on GitLab: https://projects.sucs.org/arthur/mw/commit/08c6e884f027a8fda28619d5a3d04414113a3f5a
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/mw-devel/attachments/20151120/c55b0b3f/attachment.html>
More information about the mw-devel
mailing list