diff options
author | Steven Schubiger <stsc@refcnt.org> | 2016-10-25 14:18:09 +0200 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2016-10-25 14:18:09 +0200 |
commit | afbfe4ff6003d2e148130d570fd46bf5dd3103bd (patch) | |
tree | bbd7ae584fa5206876808ad4b79a3353cd70dfaa /doc/colorize | |
parent | b046a247ae0220a415b085930992dae046d4439f (diff) | |
download | colorize-afbfe4ff6003d2e148130d570fd46bf5dd3103bd.tar.gz colorize-afbfe4ff6003d2e148130d570fd46bf5dd3103bd.tar.bz2 |
Stack and release color names memory
Don't call the color_names memory freeing code explicitly in the
cleanup function as it is taken care of via {STACK,RELEASE}_VAR().
This implies the memory is "garbage collected" like other uses of
those macros, too.
Also, declare and initialize the color_names array in a non-global,
tighter scope.
Diffstat (limited to 'doc/colorize')
0 files changed, 0 insertions, 0 deletions