Triton Repository branch, master, updated. d7213e74911de84daaf2ff0fa0a8d57ae7d907be
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Triton Repository". The branch, master has been updated via d7213e74911de84daaf2ff0fa0a8d57ae7d907be (commit) from b9ff5df4d0b78cc5dc1fa98b3a772ef93e0382e1 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit d7213e74911de84daaf2ff0fa0a8d57ae7d907be Author: slang <[email protected]> Date: Fri Feb 18 14:55:05 2011 -0600 fix ref count leak bug ----------------------------------------------------------------------- Summary of changes: code/src/aesop/ae-blocking-parser.h | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) Diff of changes: diff --git a/code/src/aesop/ae-blocking-parser.h b/code/src/aesop/ae-blocking-parser.h index edb154d..492bf72 100644 --- a/code/src/aesop/ae-blocking-parser.h +++ b/code/src/aesop/ae-blocking-parser.h @@ -278,7 +278,7 @@ __ae_post_end: \ __ae_local_cb = ctl->__ae_callback; \ __ae_local_up = ctl->user_ptr; \ triton_mutex_lock(&ctl->gen.mutex); \ - __ae_refcount = ae_ctl_refcount(&ctl->gen); \ + __ae_refcount = ae_ctl_refdec(&ctl->gen); \ assert(__ae_refcount >= 0); \ triton_mutex_unlock(&ctl->gen.mutex); \ __ae_local_cb(__ae_local_up); \ @@ -296,7 +296,7 @@ __ae_post_end: \ __ae_local_up = ctl->user_ptr; \ __ae_ret = __ret_param_expr; \ triton_mutex_lock(&ctl->gen.mutex); \ - __ae_refcount = ae_ctl_refcount(&ctl->gen); \ + __ae_refcount = ae_ctl_refdec(&ctl->gen); \ assert(__ae_refcount >= 0); \ triton_mutex_unlock(&ctl->gen.mutex); \ __ae_local_cb(__ae_local_up, __ae_ret); \ @@ -312,9 +312,9 @@ __ae_post_end: \ __ae_local_cb = ctl->__ae_callback; \ __ae_local_up = ctl->user_ptr; \ triton_mutex_lock(&ctl->gen.mutex); \ - __ae_refcount = ae_ctl_refcount(&ctl->gen); \ - assert(__ae_refcount >= 0); \ + __ae_refcount = ae_ctl_refdec(&ctl->gen); \ triton_mutex_unlock(&ctl->gen.mutex); \ + assert(__ae_refcount >= 0); \ __ae_local_cb(__ae_local_up); \ if(__ae_refcount == 0) ae_ctl_destroy(ctl, &ctl->gen); \ __ae_postret = TRITON_SUCCESS; \ @@ -331,9 +331,9 @@ __ae_post_end: \ __ae_local_up = ctl->user_ptr; \ __ae_ret = __ret_param_expr; \ triton_mutex_lock(&ctl->gen.mutex); \ - __ae_refcount = ae_ctl_refcount(&ctl->gen); \ - assert(__ae_refcount >= 0); \ + __ae_refcount = ae_ctl_refdec(&ctl->gen); \ triton_mutex_unlock(&ctl->gen.mutex); \ + assert(__ae_refcount >= 0); \ __ae_local_cb(__ae_local_up, __ae_ret); \ if(__ae_refcount == 0) ae_ctl_destroy(ctl, &ctl->gen); \ __ae_postret = TRITON_SUCCESS; \ hooks/post-receive -- Triton Repository
participants (1)
-
noreply@mcs.anl.gov