Skip to content

Commit

Permalink
lib-sieve: Clear extension context upon unload.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanbosch committed Jun 20, 2017
1 parent 072b0b4 commit 82563e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib-sieve/sieve-extensions.c
Expand Up @@ -331,6 +331,7 @@ static void _sieve_extension_unload(struct sieve_extension *ext)
/* Call unload handler */
if ( ext->def != NULL && ext->def->unload != NULL )
ext->def->unload(ext);
ext->context = NULL;
}

static void sieve_extension_registry_init(struct sieve_instance *svinst)
Expand Down

0 comments on commit 82563e9

Please sign in to comment.