dictionary: Fix memory leak in dict_set_encoding().
authorBen Pfaff <blp@cs.stanford.edu>
Fri, 9 Apr 2010 04:12:02 +0000 (21:12 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 12 Apr 2010 03:39:03 +0000 (20:39 -0700)
commit01900114dde51eecc8adc4933ef52289e37c480f
treeff12499de0a9c5adddf8c9d2409ebd8aab30f988
parent33e610616a2b48f9a7eb56c4ebb0325b66df0376
dictionary: Fix memory leak in dict_set_encoding().

If this function was called more than once for a given dictionary then all
but the final encoding name would be leaked.
src/data/dictionary.c