libidav/davqlparser.c

changeset 288
cd3846cc8b25
parent 263
f24b730cb75e
child 291
8828260d2fd8
--- a/libidav/davqlparser.c	Thu Aug 31 12:44:25 2017 +0200
+++ b/libidav/davqlparser.c	Thu Aug 31 12:55:09 2017 +0200
@@ -419,6 +419,7 @@
         ln, pn).ptr;
 }
 
+// TODO: this macro results in a memory leak - we return without freeing memory
 #define dqlsec_alloc_failed(ptr, stmt)                                  \
                     if (!(ptr)) {                                       \
                         (stmt)->errorcode = DAVQL_ERROR_OUT_OF_MEMORY;  \

mercurial