]> git.ipfire.org Git - thirdparty/lldpd.git/commit
marshal: serialization may return 0 and target untouched
authorVincent Bernat <bernat@luffy.cx>
Sun, 13 Jan 2013 10:25:39 +0000 (11:25 +0100)
committerVincent Bernat <bernat@luffy.cx>
Sun, 13 Jan 2013 10:25:39 +0000 (11:25 +0100)
commit3abff5ce6dac66cf4cdd06f2fe7c10474e472ffe
tree2ba1dacdfc97da2193d27ad8dee62343395cf145
parent9a6a7f74094304205687c624435207ae63435123
marshal: serialization may return 0 and target untouched

If serialization finds a structure already serialized, it skips it and
return 0. `target` should not be freed.
src/marshal.c