diff options
Diffstat (limited to 'src/h.c')
-rw-r--r-- | src/h.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -323,6 +323,7 @@ struct dc_user { unsigned long long int id; short int discriminator; enum dc_status status; + char * path; /* yesfree, internal, so parser knows what object this user is from */ }; struct dc_user * dc_user_init () { struct dc_user * s = calloc(1, sizeof(*s)); @@ -332,6 +333,7 @@ void dc_user_free (struct dc_user * s) { if (!s) return; free(s->username); + free(s->path); free(s); } struct dc_permission { /* permissions can be individual on a per-channel basis */ |