1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00

Another NULL check removed

Signed-off-by: Silvan Jegen <s.jegen@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Silvan Jegen 2014-01-28 17:50:44 +01:00 committed by Allan McRae
parent cb8eae24c9
commit 77da9dc974

View File

@ -98,10 +98,7 @@ static void buffer_free(struct buffer_t *buf)
return; return;
} }
if(buf->mem) { free(buf->mem);
free(buf->mem);
}
free(buf); free(buf);
} }