Blame SOURCES/satyr-0.13-dont-free-gdb-stacktrace.patch

f499a8
From 969aedadec7f1f693f53ddaf8dcb1f1d59d5ac72 Mon Sep 17 00:00:00 2001
f499a8
From: Martin Milata <mmilata@redhat.com>
f499a8
Date: Tue, 23 Sep 2014 18:22:27 +0200
f499a8
Subject: [SATYR PATCH] Don't free gdb stacktrace if no crash thread found
f499a8
f499a8
Possibly related to rhbz#1145697.
f499a8
f499a8
Signed-off-by: Martin Milata <mmilata@redhat.com>
f499a8
---
f499a8
 lib/gdb_stacktrace.c | 3 ---
f499a8
 1 file changed, 3 deletions(-)
f499a8
f499a8
diff --git a/lib/gdb_stacktrace.c b/lib/gdb_stacktrace.c
f499a8
index 8e73e21..3b2465a 100644
f499a8
--- a/lib/gdb_stacktrace.c
f499a8
+++ b/lib/gdb_stacktrace.c
f499a8
@@ -558,10 +558,7 @@ sr_gdb_stacktrace_to_short_text(struct sr_gdb_stacktrace *stacktrace,
f499a8
     crash_thread = sr_gdb_stacktrace_find_crash_thread(stacktrace);
f499a8
 
f499a8
     if (!crash_thread)
f499a8
-    {
f499a8
-        sr_gdb_stacktrace_free(stacktrace);
f499a8
         return NULL;
f499a8
-    }
f499a8
 
f499a8
     struct sr_gdb_thread *optimized_thread
f499a8
         = sr_gdb_thread_get_optimized(crash_thread, stacktrace->libs,
f499a8
-- 
f499a8
1.9.3
f499a8