{
size_t ret;
+ if (0 == rd_count)
+ return 0;
+
ret = sizeof (struct NetworkRecord) * rd_count;
for (unsigned int i=0;i<rd_count;i++)
{
}
#endif
}
+ memset (&dest[off],
+ 0,
+ dest_size-off);
return dest_size;
}
{
res = 1;
}
- GNUNET_free (cfg_name);
GNUNET_DISK_purge_cfg_dir (cfg_name,
"GNUNET_TEST_HOME");
+ GNUNET_free (cfg_name);
return res;
}
{
res = 1;
}
- GNUNET_free (cfg_name);
GNUNET_DISK_purge_cfg_dir (cfg_name,
"GNUNET_TEST_HOME");
+ GNUNET_free (cfg_name);
return res;
}
[namestore]
DATABASE = sqlite
+PREFIX = valgrind --leak-check=full --track-origins=yes --log-file=/tmp/v_log
[namestore-sqlite]
FILENAME = $GNUNET_TEST_HOME/namestore/sqlite_test.db