diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-02-28 15:59:03 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-02-28 15:59:03 +0100 |
commit | cdacf03ededf8c6f18df9ec11067e6c116801594 (patch) | |
tree | 3d647edd881279f242d9de0bae1a71ce2d640dce | |
parent | 821b2af393c41d6a22da17b529271fec375b31cc (diff) | |
download | taler-mdb-cdacf03ededf8c6f18df9ec11067e6c116801594.tar.gz taler-mdb-cdacf03ededf8c6f18df9ec11067e6c116801594.tar.bz2 taler-mdb-cdacf03ededf8c6f18df9ec11067e6c116801594.zip |
fix
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2031,7 +2031,7 @@ write_mdb_command (void *cls) chkSum += mdb.txBuffer[idx] = mdb.cmd->cmd.bin[idx]; for (size_t idx = 0; idx < mdb.cmd->data.bin_size; idx++) chkSum += mdb.txBuffer[idx + mdb.cmd->cmd.bin_size] = - mdb.cmd->data.bin[idx]; + mdb.cmd->data.bin[idx]; mdb.txBuffer[mdb.cmd->cmd.bin_size + mdb.cmd->data.bin_size] = (uint8_t) (chkSum & 0xFF); } @@ -2718,8 +2718,8 @@ read_products (void *cls, GNUNET_break (GNUNET_OK == GNUNET_DISK_file_close (fh)); } + GNUNET_free (thumbnail_fn); } - GNUNET_free (thumbnail_fn); if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_number (cls, section, |