Subject: Memory leak...

Memory leak...

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 29 Sep 2007 23:23:42 +0200 (CEST)

Hey Steinar,

Your recent flood of commits introduced at least these issues that I spotted
at a quick glance:

#1 - A fresh new memory leak, much clearly shown by curl's test case 20:

** MEMORY FAILURE
Leak detected: memory still allocated: 55 bytes
At 80f9534, there's 27 bytes.
  allocated by ares_gethostbyname.c:100
At 80f9504, there's 28 bytes.
  allocated by ares_gethostbyname.c:93

#2 - ares_process.c:572: warning: implicit declaration of function 'assert'
      http://curl.haxx.se/auto/log.cgi?id=20070929205122-10152#prob5

#3 - ares_mkquery.c:125: error: 'MAXCDNAME' undeclared (first use in this
      function)
      http://curl.haxx.se/auto/log.cgi?id=20070929205122-10152#prob6

#4 - ares_gethostbyname.c:218: warning: array subscript has type 'char'
      http://curl.haxx.se/auto/log.cgi?id=20070929172052-10583#prob11
Received on 2007-09-29