mirror of
https://github.com/clearml/dropbear
synced 2025-02-07 13:21:15 +00:00
Fix bad multi-statement define for m_free(), detected by Coverity
This commit is contained in:
parent
d857faf18e
commit
9174de47a9
2
dbutil.h
2
dbutil.h
@ -91,7 +91,7 @@ void m_close(int fd);
|
||||
void * m_malloc(size_t size);
|
||||
void * m_strdup(const char * str);
|
||||
void * m_realloc(void* ptr, size_t size);
|
||||
#define m_free(X) free(X); (X) = NULL;
|
||||
#define m_free(X) do {free(X); (X) = NULL;} while (0);
|
||||
void m_burn(void* data, unsigned int len);
|
||||
void setnonblocking(int fd);
|
||||
void disallow_core();
|
||||
|
Loading…
Reference in New Issue
Block a user