--- old/agent/src/os/linux/symtab.c 2013-11-25 21:43:45.895602193 +0400 +++ new/agent/src/os/linux/symtab.c 2013-11-25 21:43:45.701602189 +0400 @@ -215,6 +215,7 @@ strcpy(debug_pathname, name); char *last_slash = strrchr(debug_pathname, '/'); if (last_slash == NULL) + free(debug_pathname); return -1; /* Look in the same directory as the object. */