diff options
Diffstat (limited to 'main/astobj2.c')
-rw-r--r-- | main/astobj2.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/main/astobj2.c b/main/astobj2.c index 5f4cda91e..5e61d5e5f 100644 --- a/main/astobj2.c +++ b/main/astobj2.c @@ -734,10 +734,6 @@ static void *internal_ao2_callback(struct ao2_container *c, } ast_free(cur); /* free the link record */ } - if ((match) && (!(flags & OBJ_UNLINK))) { - AST_LIST_REMOVE_CURRENT(entry); - AST_LIST_INSERT_HEAD(&c->buckets[i], cur, entry); - } if ((match & CMP_STOP) || !(flags & OBJ_MULTIPLE)) { /* We found our only (or last) match, so force an exit from |