diff options
-rw-r--r-- | charset.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -356,7 +356,7 @@ getOtherCharset(const char *name) c->other_aux = s; if (!fc->init(s)) { - c->type = T_FAILED; + free(c); return NULL; } |
index : xorg/app/luit | ||
Convert terminal i/o from legacy encodings to UTF-8 (mirrored from https://gitlab.freedesktop.org/xorg/app/luit) | krh |
summaryrefslogtreecommitdiff |
-rw-r--r-- | charset.c | 2 |
@@ -356,7 +356,7 @@ getOtherCharset(const char *name) c->other_aux = s; if (!fc->init(s)) { - c->type = T_FAILED; + free(c); return NULL; } |