column: don't check result from xmalloc()

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2012-01-04 14:29:26 +01:00
parent d05a3e9713
commit 5be926fac1
1 changed files with 0 additions and 2 deletions

View File

@ -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;