Fix off-by one error in the GTK HID's netlist window model generation
commitd053b4e41da10fd033429cb4b88c6e3b52769eb7
authorPeter Clifton <pcjc2@cam.ac.uk>
Wed, 24 Dec 2008 03:07:02 +0000 (24 03:07 +0000)
committerPeter Clifton <pcjc2@cam.ac.uk>
Wed, 24 Dec 2008 03:07:02 +0000 (24 03:07 +0000)
tree1ad9f642c26e282eebe03d670b4960c6f64300ba
parent193bab70a7854c3931728751c7874b079cf6d622
Fix off-by one error in the GTK HID's netlist window model generation

Broken when I added support for a hierarchical view of nets. The bug
caused invalid memory to be read, possibly leading to a crash, as the
last (and missing) element from g_new0 was supposed to be a terminator.
src/hid/gtk/gui-netlist-window.c