diff options
-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, |