Blame SOURCES/a2ps-bad-free.patch

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