diff options
Diffstat (limited to 'debian/patches/fix-bad-free.diff')
-rw-r--r-- | debian/patches/fix-bad-free.diff | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/debian/patches/fix-bad-free.diff b/debian/patches/fix-bad-free.diff deleted file mode 100644 index 435c421..0000000 --- a/debian/patches/fix-bad-free.diff +++ /dev/null @@ -1,15 +0,0 @@ -Index: b/lib/encoding.c -=================================================================== ---- a/lib/encoding.c -+++ b/lib/encoding.c -@@ -538,7 +538,9 @@ - { - /* Find if there is a substitute for that font */ - res = pair_get (encoding->substitutes, font_name); -- if (!res) -+ if (res) -+ res = xstrdup (res); -+ else - /* No. Check if this font is supported */ - if (font_exists (job, font_name)) - /* Avoid returning sth alloca'd */ |