Check for cleanup on Adds, not just Modifies

This commit is contained in:
Howard Chu 2007-10-08 06:19:50 +00:00
parent f0468901c6
commit ec7a05adff

View file

@ -4313,6 +4313,8 @@ ok:
rc = ca->bi->bi_db_open( ca->be, &ca->reply );
ca->be->bd_info = bi_orig;
}
} else if ( ca->cleanup ) {
rc = ca->cleanup( ca );
}
if ( rc ) {
if (ca->cr_msg[0] == '\0')