Added call to close(fp_tmp)

This commit is contained in:
vraatikka 2013-09-12 23:13:22 +03:00
parent d7e793a411
commit ae12ef8f34

View File

@ -326,6 +326,7 @@ char* admin_remove_user(
err,
fname);
unlink(fname_tmp);
fclose(fp_tmp);
return ADMIN_ERR_PWDFILEACCESS;
}