diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-09-12 15:22:26 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-09-12 15:22:26 +1000 |
commit | ca6e15f2f985d5ea1e907c05ae585152d385938e (patch) | |
tree | 18512360260f229c3846c531af2b03018c1b31be /source4/dsdb/repl/drepl_periodic.c | |
parent | 5c33042498763ce814c0539e0a96f73a06a76dfd (diff) | |
download | samba-ca6e15f2f985d5ea1e907c05ae585152d385938e.tar.gz samba-ca6e15f2f985d5ea1e907c05ae585152d385938e.tar.bz2 samba-ca6e15f2f985d5ea1e907c05ae585152d385938e.zip |
s4-repl: fixed memory leaks
These memory leaks were mostly caused by the fact that
refresh_partitions is now called periodically
Diffstat (limited to 'source4/dsdb/repl/drepl_periodic.c')
-rw-r--r-- | source4/dsdb/repl/drepl_periodic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dsdb/repl/drepl_periodic.c b/source4/dsdb/repl/drepl_periodic.c index 36d5f924be..2cfcb310dc 100644 --- a/source4/dsdb/repl/drepl_periodic.c +++ b/source4/dsdb/repl/drepl_periodic.c @@ -103,7 +103,8 @@ static void dreplsrv_periodic_run(struct dreplsrv_service *service) dreplsrv_schedule_pull_replication(service, mem_ctx); talloc_free(mem_ctx); - DEBUG(2,("dreplsrv_periodic_run(): run pending_ops\n")); + DEBUG(2,("dreplsrv_periodic_run(): run pending_ops memory=%u\n", + (unsigned)talloc_total_blocks(service))); /* the KCC might have changed repsFrom */ dreplsrv_refresh_partitions(service); |