chiark
/
gitweb
/
~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Licensing: Delete FSF address from INSTALL
[adns]
/
src
/
query.c
diff --git
a/src/query.c
b/src/query.c
index b3ddca84d7a41bed47ad9fd5e145ddc6967323ce..2ae3a5b7b2c8ba23ad5454b11e4127918e59ff9f 100644
(file)
--- a/
src/query.c
+++ b/
src/query.c
@@
-13,7
+13,7
@@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version
2
, or (at your option)
+ * the Free Software Foundation; either version
3
, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* any later version.
*
* This program is distributed in the hope that it will be useful,
@@
-22,8
+22,7
@@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * along with this program; if not, write to the Free Software Foundation.
*/
#include "internal.h"
*/
#include "internal.h"
@@
-428,6
+427,7
@@
void adns__free_interim(adns_query qu, void *p) {
LIST_UNLINK(qu->allocations, an);
free(an);
qu->interim_allocd -= sz;
LIST_UNLINK(qu->allocations, an);
free(an);
qu->interim_allocd -= sz;
+ assert(!qu->interim_allocd >= 0);
}
void *adns__alloc_mine(adns_query qu, size_t sz) {
}
void *adns__alloc_mine(adns_query qu, size_t sz) {