From: Sebastian Harl Date: Sun, 25 Jan 2015 05:28:51 +0000 (-0800) Subject: store::network plugin: Fixed a minor memory leak. X-Git-Tag: sysdb-0.7.0~44 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=96a75100d8f9c4c6b4ba8cc0d5b8889158cb5f58;p=sysdb.git store::network plugin: Fixed a minor memory leak. --- diff --git a/src/plugins/store/network.c b/src/plugins/store/network.c index c9aaec5..7498e43 100644 --- a/src/plugins/store/network.c +++ b/src/plugins/store/network.c @@ -75,6 +75,8 @@ user_data_destroy(void *obj) if (ud->username) free(ud->username); ud->username = NULL; + + free(ud); } /* user_data_destroy */ /*