Removed exit() from memory.c, resulting in all exit() calls removed from all code in the repository

This commit is contained in:
jsteube
2016-10-13 10:07:04 +02:00
parent 62284f79b1
commit 8598a79732
36 changed files with 513 additions and 408 deletions
+2
View File
@@ -12,6 +12,8 @@
#define MSG_ENOMEM "Insufficient memory available"
#define VERIFY_PTR(v) if ((v) == NULL) return -1;
void *hccalloc (hashcat_ctx_t *hashcat_ctx, const size_t nmemb, const size_t sz);
void *hcmalloc (hashcat_ctx_t *hashcat_ctx, const size_t sz);
void *hcrealloc (hashcat_ctx_t *hashcat_ctx, void *ptr, const size_t oldsz, const size_t addsz);