mirror of
https://github.com/xzeldon/htop.git
synced 2025-01-31 17:17:26 +03:00
Don't check if (!str) in xStrdup
This effectively reverts "Stricter strdup." 4674b4a7320bb6b003a4e3b3840027573691e60d 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