chiark / gitweb /
conf-parser: don't leak section names
authorTom Gundersen <teg@jklm.no>
Wed, 20 Nov 2013 16:51:42 +0000 (17:51 +0100)
committerTom Gundersen <teg@jklm.no>
Wed, 20 Nov 2013 16:54:09 +0000 (17:54 +0100)
commit91ffff9621757cb585bfce1cafc98218f89cc466
tree3be114ceb17eeb150d11d06e4ffc31f142806aa7
parent0cc1125ae10a216f2b27cb2828849ac1beb6a1b1
conf-parser: don't leak section names

If we encounter an unknown section, we must free the previous section before
clearing the pointer.
src/shared/conf-parser.c