diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-04-18 03:58:42 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-04-18 03:58:42 +0000 |
commit | 8a13a7cfe891d4006a9d1feca61ffebcf4f1f4d8 (patch) | |
tree | 02fc7df2b676efc8a3dec286a273bb6723d9f0d6 /src/common/util.c | |
parent | 7484ca06a5aaf060736485e6115aa0b2771ef036 (diff) | |
download | tor-8a13a7cfe891d4006a9d1feca61ffebcf4f1f4d8.tar tor-8a13a7cfe891d4006a9d1feca61ffebcf4f1f4d8.tar.gz |
mainline branch. Remove some more dead XXXs.
svn:r6401
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | src/common/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/util.c b/src/common/util.c index b2dd2f4b4..9dcb8e808 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -131,11 +131,11 @@ _tor_malloc(size_t size DMALLOC_PARAMS) if (!result) { log_err(LD_MM,"Out of memory. Dying."); - /* XXX if these functions die within a worker process, they won't - * call spawn_exit */ + /* If these functions die within a worker process, they won't call + * spawn_exit, but that's ok, since the parent will run out of memory soon + * anyway. */ exit(1); } -// memset(result,'X',size); /* deadbeef to encourage bugs */ return result; } |