Blame SOURCES/a2ps-bad-free.patch

f97431
diff -up a2ps-4.14/lib/encoding.c.bad-free a2ps-4.14/lib/encoding.c
f97431
--- a2ps-4.14/lib/encoding.c.bad-free	2013-04-30 11:49:50.511962062 +0100
f97431
+++ a2ps-4.14/lib/encoding.c	2013-04-30 11:52:18.682573468 +0100
f97431
@@ -541,7 +541,9 @@ encoding_resolve_font_substitute (struct
f97431
     {
f97431
       /* Find if there is a substitute for that font */
f97431
       res = pair_get (encoding->substitutes, font_name);
f97431
-      if (!res)
f97431
+      if (res)
f97431
+        res = xstrdup (res);
f97431
+      else
f97431
 	/* No. Check if this font is supported */
f97431
 	if (font_exists (job, font_name))
f97431
 	  /* Avoid returning sth alloca'd */