mirror of https://github.com/xzeldon/htop.git
Don't check if (!str) in xStrdup
This effectively reverts "Stricter strdup." 4674b4a732
If str is NULL upon the calling of strdup(), it should crash with SIGSEGV.
Just let it crash. Adding the "if (!str) fail();" code serves nothing but
bloat.
This commit is contained in:
parent
ea9dc4ab74
commit
e288f690af