aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_my_lib.h
diff options
context:
space:
mode:
authorChristophe Genevey Metat <genevey.christophe@gmail.com>2016-06-09 15:39:57 +0000
committerChristophe Genevey Metat <genevey.christophe@gmail.com>2016-06-09 15:39:57 +0000
commit7c6eeca83081852d0eb323af94da3b2001357538 (patch)
tree7996e3f116025cb481b7ecd262b38769abc3c968 /src/include/gnunet_my_lib.h
parenta970e9d70979c0e378a009791dc9da6c029f8526 (diff)
downloadgnunet-7c6eeca83081852d0eb323af94da3b2001357538.tar.gz
gnunet-7c6eeca83081852d0eb323af94da3b2001357538.zip
fix memory leak
Diffstat (limited to 'src/include/gnunet_my_lib.h')
-rw-r--r--src/include/gnunet_my_lib.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/gnunet_my_lib.h b/src/include/gnunet_my_lib.h
index 534a4db40..ddccbd56e 100644
--- a/src/include/gnunet_my_lib.h
+++ b/src/include/gnunet_my_lib.h
@@ -73,7 +73,7 @@ typedef int
73 */ 73 */
74typedef void 74typedef void
75(*GNUNET_MY_QueryCleanup)(void *cls, 75(*GNUNET_MY_QueryCleanup)(void *cls,
76 struct GNUNET_MY_QueryParam *qp); 76 MYSQL_BIND *qbind);
77/** 77/**
78 * Information we pass to #GNUNET_MY_exec_prepared() to 78 * Information we pass to #GNUNET_MY_exec_prepared() to
79 * initialize the arguments of the prepared statement. 79 * initialize the arguments of the prepared statement.
@@ -146,7 +146,7 @@ GNUNET_MY_query_param_fixed_size (const void *ptr,
146int 146int
147GNUNET_MY_exec_prepared (struct GNUNET_MYSQL_Context *mc, 147GNUNET_MY_exec_prepared (struct GNUNET_MYSQL_Context *mc,
148 struct GNUNET_MYSQL_StatementHandle *sh, 148 struct GNUNET_MYSQL_StatementHandle *sh,
149 const struct GNUNET_MY_QueryParam *params); 149 struct GNUNET_MY_QueryParam *params);
150 150
151 151
152/** 152/**
@@ -470,7 +470,8 @@ GNUNET_MY_extract_result (struct GNUNET_MYSQL_StatementHandle *sh,
470 * @param qp query specification to clean up 470 * @param qp query specification to clean up
471 */ 471 */
472void 472void
473GNUNET_MY_cleanup_query (struct GNUNET_MY_QueryParam *qp); 473GNUNET_MY_cleanup_query (struct GNUNET_MY_QueryParam *qp,
474 MYSQL_BIND *qbind);
474 475
475 476
476/** 477/**