column: don't check result from xmalloc()
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
d05a3e9713
commit
5be926fac1
|
@ -396,8 +396,6 @@ static wchar_t *mbs_to_wcs(const char *s)
|
|||
if (n < 0)
|
||||
return NULL;
|
||||
wcs = xmalloc((n + 1) * sizeof(wchar_t));
|
||||
if (!wcs)
|
||||
return NULL;
|
||||
n = mbstowcs(wcs, s, n + 1);
|
||||
if (n < 0)
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue