6895N/AAvoid a bad free in the encoding handling logic
6895N/ASee: https://launchpad.net/ubuntu/+source/a2ps/+changelog
6895N/A
6895N/AIndex: b/lib/encoding.c
6895N/A===================================================================
6895N/A--- a/lib/encoding.c
6895N/A+++ b/lib/encoding.c
6895N/A@@ -538,7 +538,9 @@
6895N/A {
6895N/A /* Find if there is a substitute for that font */
6895N/A res = pair_get (encoding->substitutes, font_name);
6895N/A- if (!res)
6895N/A+ if (res)
6895N/A+ res = xstrdup (res);
6895N/A+ else
6895N/A /* No. Check if this font is supported */
6895N/A if (font_exists (job, font_name))
6895N/A /* Avoid returning sth alloca'd */