Commit 44ca086f authored by Michael Weber's avatar Michael Weber Committed by Alexandre Duret-Lutz

[buddy] Addref in fdd_intaddvarblock

* src/fdd.c (fdd_intaddvarblock): Add missing addref.
Signed-off-by: default avatarJaco van de Pol <J.C.vandepol@ewi.utwente.nl>
Signed-off-by: default avatarMichael Weber <michaelw@cs.utwente.nl>
parent 334f04b0
...@@ -954,6 +954,8 @@ int fdd_intaddvarblock(int first, int last, int fixed) ...@@ -954,6 +954,8 @@ int fdd_intaddvarblock(int first, int last, int fixed)
res = tmp; res = tmp;
} }
bdd_addref(res); // Added by Jaco van de Pol, 25 march 2010
err = bdd_addvarblock(res, fixed); err = bdd_addvarblock(res, fixed);
bdd_delref(res); bdd_delref(res);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment