- talloc_set_log_fn()
- talloc_set_log_stderr()
-Below given is an sample output of accessing a context after it has been freed:
+The following code is a sample output of accessing a context after it has been
+freed:
@code
talloc_set_log_stderr();
Bad talloc magic value - access after free
@endcode
-Another example below is an example of the invalid context:
+Another example is an invalid context:
@code
talloc_set_log_stderr();
@section reports Memory usage reports
-Talloc can print reports of memory usage of specified talloc context to a file
-(or to <code>stdout</code> or <code>stderr</code>). The report can be simple or
-full. The simple report provides information only about the context itself and
-its direct descendants. The full report goes recursively through the entire
-context tree. See:
+Talloc can print reports of memory usage of a specified talloc context to a
+file (to <code>stdout</code> or <code>stderr</code>). The report can be
+simple or full. The simple report provides information only about the context
+itself and its direct descendants. The full report goes recursively through the
+entire context tree. See:
- talloc_report()
- talloc_report_full()
-We will use following code to retrieve the sample report:
+We will use the following code to retrieve the sample report:
@code
struct foo {
- talloc_enable_leak_report()
- talloc_enable_leak_report_full()
-*/
\ No newline at end of file
+*/