[buddy] Addref in fdd_intaddvarblock

* src/fdd.c (fdd_intaddvarblock): Add missing addref.

Signed-off-by: Jaco van de Pol <J.C.vandepol@ewi.utwente.nl>
Signed-off-by: Michael Weber <michaelw@cs.utwente.nl>
This commit is contained in:
Michael Weber 2010-03-25 21:44:03 +00:00 committed by Alexandre Duret-Lutz
parent 334f04b0c4
commit 44ca086f5d

View file

@ -954,6 +954,8 @@ int fdd_intaddvarblock(int first, int last, int fixed)
res = tmp;
}
bdd_addref(res); // Added by Jaco van de Pol, 25 march 2010
err = bdd_addvarblock(res, fixed);
bdd_delref(res);