2011-04-18 Kai Tietz <ktietz@redhat.com>
authorKai Tietz <kai.tietz@onevision.com>
Mon, 18 Apr 2011 15:38:03 +0000 (15:38 +0000)
committerKai Tietz <kai.tietz@onevision.com>
Mon, 18 Apr 2011 15:38:03 +0000 (15:38 +0000)
commitbdca0ea17b5b2e51245031d324d276bba094f1fe
treefc80e69e6d4050656ce704fa9a7d877959a2ce3b
parent417236c059fd8fbc6e0c6f19177cd3769f6d1bcf
2011-04-18  Kai Tietz  <ktietz@redhat.com>

* deffilep.y (def_pool_str): New type.
(pool_strs): Local static.
(def_pool_alloc): Local function.
(def_pool_strdup): Likewise.
(def_pool_free): Likewise.
(opt_name): Replace xmalloc/xstrdup by
def_pool_alloc/def_pool_strdup.
(dot_name): Likewise.
(anylang_id): Likewise.
(def_lex): Likewise.
(def_file_parse): Call def_pool_free on
exit and cleanup directives elements.
(def_file_add_directive): Call def_pool_free.
ld/ChangeLog
ld/deffilep.y