IO cache : fix coverity issue in page.c
This patch fixes CID 1382439 and 1382412. Change-Id: I8696623c168ba76ae2ecac7c9582b4e50437bc53 updates: bz#789278 Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
This commit is contained in:
parent
8b913eb752
commit
53e6e62140
@ -896,10 +896,10 @@ unwind:
|
||||
vector = NULL;
|
||||
}
|
||||
|
||||
pthread_mutex_destroy (&local->local_lock);
|
||||
if (local)
|
||||
if (local) {
|
||||
pthread_mutex_destroy (&local->local_lock);
|
||||
mem_put (local);
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user