aboutsummaryrefslogtreecommitdiff
path: root/src/mintdb/perf_taler_mintdb_interpreter.h
diff options
context:
space:
mode:
authorFournier Nicolas <nicolas.fournier@ensta-paristech.fr>2015-06-17 17:24:08 +0200
committerFournier Nicolas <nicolas.fournier@ensta-paristech.fr>2015-06-17 17:24:08 +0200
commit6f02d4e355d6152fb61098a27ed6b2e3b98358a2 (patch)
tree2c27957e221962b367533c3ce3b8f9d3c2abb1ba /src/mintdb/perf_taler_mintdb_interpreter.h
parent6ffe1d5dbaaf38d3e7679cacd6303be3dba15764 (diff)
fixed memory leak
Diffstat (limited to 'src/mintdb/perf_taler_mintdb_interpreter.h')
-rw-r--r--src/mintdb/perf_taler_mintdb_interpreter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mintdb/perf_taler_mintdb_interpreter.h b/src/mintdb/perf_taler_mintdb_interpreter.h
index 53dfae388..c56414730 100644
--- a/src/mintdb/perf_taler_mintdb_interpreter.h
+++ b/src/mintdb/perf_taler_mintdb_interpreter.h
@@ -125,7 +125,7 @@
{ \
.command = PERF_TALER_MINTDB_CMD_INSERT_DEPOSIT,\
.label = _label, \
- .exposed_type = PERF_TALER_MINTDB_NONE, \
+ .exposed_type = PERF_TALER_MINTDB_DEPOSIT, \
}
/**
@@ -144,7 +144,7 @@
* Extracts @a _nb_saved items of type @a _save_type
* from the command @a _label_save during the loop @a _label_loop
*/
-#define PERF_TALER_MINTDB_INIT_CMD_SAMPLE_ARRAY(_label, _label_loop, _label_save, _nb_saved, _save_type) \
+#define PERF_TALER_MINTDB_INIT_CMD_SAVE_ARRAY(_label, _label_loop, _label_save, _nb_saved, _save_type) \
{ \
.command = PERF_TALER_MINTDB_CMD_SAVE_ARRAY, \
.label = _label, \
@@ -153,7 +153,7 @@
.label_loop = _label_loop, \
.label_save = _label_save, \
.nb_saved = _nb_saved, \
- .save_type = _save_type \
+ .type_saved = _save_type \
} \
}