mergo
This commit is contained in:
parent
548c86147e
commit
364a7d116a
4
aalloc.c
4
aalloc.c
@ -1,6 +1,6 @@
|
|||||||
#include "sh.h"
|
#include "sh.h"
|
||||||
|
|
||||||
__RCSID("$MirOS: src/bin/mksh/aalloc.c,v 1.14 2008/11/12 06:10:51 tg Exp $");
|
__RCSID("$MirOS: src/bin/mksh/aalloc.c,v 1.15 2008/11/12 06:12:56 tg Exp $");
|
||||||
|
|
||||||
/* mksh integration of aalloc */
|
/* mksh integration of aalloc */
|
||||||
|
|
||||||
@ -314,7 +314,7 @@ adelete(PArea *pap)
|
|||||||
PBlock bp;
|
PBlock bp;
|
||||||
|
|
||||||
/* ignore invalid areas */
|
/* ignore invalid areas */
|
||||||
if ((bp = check_bp(*pap, "adelete", 0)) == NULL) {
|
if ((bp = check_bp(*pap, "adelete", 0)) != NULL) {
|
||||||
if (bp->last != (char *)&bp->storage)
|
if (bp->last != (char *)&bp->storage)
|
||||||
adelete_leak(*pap, bp);
|
adelete_leak(*pap, bp);
|
||||||
free(bp);
|
free(bp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user