samba-cvs.cvs
[Top] [All Lists]

[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0

Subject: [SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-2631-gf872a1f
From: Michael Adam
Date: Tue, 27 May 2008 18:16:46 -0500 CDT
The branch, v3-3-test has been updated
       via  f872a1f4428ed64bcfd832d981eea6446f05339e (commit)
      from  1a6f91755c412ab683c09f54e8ce76a66ed2bd19 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit f872a1f4428ed64bcfd832d981eea6446f05339e
Author: Michael Adam <obnox@xxxxxxxxx>
Date:   Wed May 28 00:59:14 2008 +0200

    lib/events: use mem_context given to event_context_init().
    
    Michael

-----------------------------------------------------------------------

Summary of changes:
 source/lib/events.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/lib/events.c b/source/lib/events.c
index 9decf21..8134a7a 100644
--- a/source/lib/events.c
+++ b/source/lib/events.c
@@ -356,7 +356,7 @@ int event_loop_once(struct event_context *ev)
 
 struct event_context *event_context_init(TALLOC_CTX *mem_ctx)
 {
-       return TALLOC_ZERO_P(NULL, struct event_context);
+       return TALLOC_ZERO_P(mem_ctx, struct event_context);
 }
 
 int set_event_dispatch_time(struct event_context *event_ctx,


-- 
Samba Shared Repository

<Prev in Thread] Current Thread [Next in Thread>
  • [SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-2631-gf872a1f, Michael Adam <=