[SSSD] [PATCH] sbus_codegen_tests: free memory context
Lukas Slebodnik
lslebodn at redhat.com
Thu Jun 5 15:04:18 UTC 2014
On (05/06/14 11:19), Pavel Březina wrote:
>From a7a01f1c1c7d866497fdfd38bb2264194a324abe Mon Sep 17 00:00:00 2001
>From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <pbrezina at redhat.com>
>Date: Thu, 5 Jun 2014 11:16:04 +0200
>Subject: [PATCH] sbus_codegen_tests: free memory context
>
>The memory context was not freed and therefore a destructor that
>closes connection to D-Bus and performs cleanup task was not executed.
>
>Resolves:
>https://fedorahosted.org/sssd/ticket/2347
>---
Without this patch, child processes were not cleaned.
sh-4.2$ ps
PID TTY TIME CMD
16560 pts/9 00:00:00 sh
16561 pts/9 00:00:00 ps
sh-4.2$ CK_FORK=no ./sbus_codegen_tests
Running suite(s): sbus_codegen
100%: Checks: 10, Failures: 0, Errors: 0
sh-4.2$ echo $?
0
sh-4.2$ ps
PID TTY TIME CMD
16560 pts/9 00:00:00 sh
16577 pts/9 00:00:00 lt-sbus_codegen
16578 pts/9 00:00:00 lt-sbus_codegen
16579 pts/9 00:00:00 lt-sbus_codegen
16580 pts/9 00:00:00 ps
sh-4.2$
ACK
LS
More information about the sssd-devel
mailing list