csoler
|
d55993d1e4
|
removed two instances of malloc(0) captured by new rs_malloc funtion
|
2016-01-12 21:43:04 -05:00 |
|
csoler
|
d13526facd
|
added a new method rs_malloc that checks its arguments and prints a stacktrace on error/weird call. Changed the code everywhere to use this instead of malloc. Removed some mallocs and replaced with RsTemporaryMemory
|
2016-01-12 21:10:11 -05:00 |
|
csoler
|
e776effc0d
|
added new method rsGetHostByName to use gethostbyname_r for re-entrant calls. Updated dnsresolver and extaddrfinder to use it. Suggestion by GuessWho #125
|
2015-10-07 21:24:31 -04:00 |
|
csoler
|
d8b276b7e2
|
improved temporary memory class
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8094 b45a01b8-16f6-495d-af2f-9b41ad6348cc
|
2015-03-28 18:07:01 +00:00 |
|
csoler
|
e58c9de067
|
fixed a few missing deletes when handling errors in grouter. Experimenting a new scope guard to hold temporary memory. (Patch from GuessWho, modified)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8093 b45a01b8-16f6-495d-af2f-9b41ad6348cc
|
2015-03-28 17:23:52 +00:00 |
|