[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:
parent
334f04b0c4
commit
44ca086f5d
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue