Use dynamic wind to free C strings.
commitf1377cbfe09f7d24c79387aa95f31c313cc26016
authorBernd Jendrissek <bernd.jendrissek@gmail.com>
Wed, 21 Nov 2012 01:30:03 +0000 (21 03:30 +0200)
committerBernd Jendrissek <bernd.jendrissek@gmail.com>
Wed, 21 Nov 2012 01:30:03 +0000 (21 03:30 +0200)
tree579975398f027ce8f0d9e4d3a227176747c45f67
parent7a1bc6a96934d55b6081560edc847d5cd517af45
Use dynamic wind to free C strings.

Assume that any gEDA function may throw an exception and cause a
non-local exit from the calling function.
gnetlist/src/g_netlist.c
gschem/src/g_hook.c
gschem/src/gschem.c
libgeda/src/g_basic.c
libgeda/src/g_rc.c
libgeda/src/g_smob.c