Commit 82e62a28 authored by Romain Bignon's avatar Romain Bignon

added valgrind suppressions file

parent aceac976
......@@ -506,7 +506,7 @@ bool IRC::readIO(void*)
string sbuf, line;
ssize_t r;
if((r = read(fd, buf, sizeof buf - 1 )) <= 0)
if((r = read(fd, buf, sizeof buf - 1)) <= 0)
{
if(r == 0)
this->quit("Connection reset by peer...");
......
{
LIBPURPLE
Memcheck:Leak
...
fun:purple_core_init
...
}
{
GSTREAMER
Memcheck:Leak
...
fun:g_thread_init_glib
...
}
{
GTHREADS
Memcheck:Leak
...
fun:gst_init_check
...
}
{
PLUGIN_INIT
Memcheck:Leak
...
fun:purple_init_plugin
...
}
{
PLUGIN_NETWORK_INIT
Memcheck:Leak
...
fun:purple_network_init
...
}
{
PLUGIN_SSL_INIT
Memcheck:Leak
...
fun:purple_ssl_init
...
}
......@@ -3,8 +3,8 @@ APP=$*
LOG=$1-valgrind.log
valgrind \
--verbose \
--show-reachable=yes \
--log-file=$LOG \
--leak-check=full \
--run-libc-freeres=no \
--suppressions=valgrind-suppressions \
$APP
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment