- pushed, thx

On 09/09/2013 02:52 PM, Michal Toman wrote:
Signed-off-by: Michal Toman <mto...@redhat.com>
---
  lib/abrt.c | 5 ++++-
  1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lib/abrt.c b/lib/abrt.c
index 53f84cd..f7d9824 100644
--- a/lib/abrt.c
+++ b/lib/abrt.c
@@ -456,10 +456,13 @@ sr_abrt_report_from_dir(const char *directory,
          struct sr_location location;
          sr_location_init(&location);
          const char *contents_pointer = backtrace_contents;
-        report->stacktrace = (struct sr_stacktrace *)sr_koops_stacktrace_parse(
+        struct sr_koops_stacktrace *stacktrace = sr_koops_stacktrace_parse(
              &contents_pointer,
              &location);

+        stacktrace->version = kernel_contents;
+        report->stacktrace = (struct sr_stacktrace *)stacktrace;
+
          free(backtrace_contents);
          if (!report->stacktrace)
          {


Reply via email to