Use g_free as element_free_func
authorSebastian Pölsterl <sebp@k-d-w.org>
Sun, 5 Feb 2012 10:41:12 +0000 (11:41 +0100)
committerSebastian Pölsterl <sebp@k-d-w.org>
Sun, 5 Feb 2012 10:41:12 +0000 (11:41 +0100)
commitc9dc7a1fa2c4c5fa8b25780ebac06e4df0c428d7
tree7dfb631331323ca72d53c4901e9b355262f10d28
parentff9651a6de7b7c356477f11472b94d7bec05ea2c
Use g_free as element_free_func

The elements of the GPtrArray are of type char*, therefore use
g_free rather than g_object_unref to as element_free_func
tests/scanner/regress.c