Code

store::network plugin: Fixed a minor memory leak.
authorSebastian Harl <sh@tokkee.org>
Sun, 25 Jan 2015 05:28:51 +0000 (21:28 -0800)
committerSebastian Harl <sh@tokkee.org>
Sun, 25 Jan 2015 05:28:51 +0000 (21:28 -0800)
src/plugins/store/network.c

index c9aaec57d68d1c6fae583ad5adab22c857d86ca0..7498e43f7e7f59ffc949a5e6d16e2a7c64b8b1b4 100644 (file)
@@ -75,6 +75,8 @@ user_data_destroy(void *obj)
        if (ud->username)
                free(ud->username);
        ud->username = NULL;
+
+       free(ud);
 } /* user_data_destroy */
 
 /*