Removed a leaking wcsdup

This commit is contained in:
ridiculousfish 2012-02-21 18:18:10 -08:00
parent 5f3fe4acff
commit e074ad4807

View File

@ -1271,7 +1271,7 @@ const wchar_t *env_get( const wchar_t *key )
}
else
{
return wcsdup(res->val.c_str());
return res->val.c_str();
}
}