Have a suspicion that enabling null context tracking causes talloc functions to SEGV...
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 18 Jun 2014 11:06:03 +0000 (12:06 +0100)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 18 Jun 2014 11:07:32 +0000 (12:07 +0100)
src/lib/debug.c

index 33c1d10..f261a49 100644 (file)
@@ -606,7 +606,7 @@ int fr_log_talloc_report(TALLOC_CTX *ctx)
 
        if (!ctx) {
                fprintf(log, "Current state of talloced memory:\n");
-               talloc_report_full(NULL, log);
+               talloc_report_full(talloc_null_ctx, log);
        } else do {
                fprintf(log, "Talloc context level %i:\n", i++);
                talloc_report_full(ctx, log);