[SSSD] [PATCH] sbus_codegen_tests: free memory context

Jakub Hrozek jhrozek at redhat.com
Wed Jun 18 12:58:43 UTC 2014


On Thu, Jun 05, 2014 at 05:04:18PM +0200, Lukas Slebodnik wrote:
> 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

Pushed to master: ba99aa00a305d298f65379e3add7536553c82455



More information about the sssd-devel mailing list