Fix memory leak in coredump().

Reviewed by:	kib
This commit is contained in:
Gleb Smirnoff 2013-04-05 20:24:51 +00:00
parent 599c412493
commit b9ce4f67ae

View File

@ -3273,6 +3273,7 @@ restart:
goto out;
if ((error = vn_start_write(NULL, &mp, V_XSLEEP | PCATCH)) != 0)
goto out;
free(name, M_TEMP);
goto restart;
}