mirror of
https://git.openafs.org/openafs.git
synced 2025-01-20 16:00:12 +00:00
fstrace-fix-memory-leak-20020325
avoid leaking catalog reference on failure
This commit is contained in:
parent
13f864f21e
commit
1ad668aee2
@ -1596,6 +1596,11 @@ tryagain:
|
||||
{
|
||||
if (!failed) {
|
||||
failed = 1;
|
||||
#if defined(AFS_OSF_ENV) && !defined(AFS_OSF20_ENV)
|
||||
catclose1 (catd);
|
||||
#else
|
||||
catclose (catd);
|
||||
#endif
|
||||
goto tryagain;
|
||||
}
|
||||
sprintf ((char *) error_text, "status %08x (%s / %s)",
|
||||
|
Loading…
Reference in New Issue
Block a user