]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-fs: Free parent fs generically
authorJosef 'Jeff' Sipek <jeff.sipek@open-xchange.com>
Tue, 21 Jul 2020 16:55:27 +0000 (12:55 -0400)
committerjeff.sipek <jeff.sipek@open-xchange.com>
Tue, 4 Aug 2020 22:11:58 +0000 (22:11 +0000)
src/lib-fs/fs-api.c

index b5879ccb47beba765679af7e2435713227ca738b..ddf3d86017b16f761d3525dadeff637fb7e2560c 100644 (file)
@@ -230,6 +230,7 @@ void fs_unref(struct fs **_fs)
        if (fs->v.deinit != NULL)
                fs->v.deinit(fs);
 
+       fs_deinit(&fs->parent);
        event_unref(&fs->event);
        i_free(fs->username);
        i_free(fs->session_id);