summaryrefslogtreecommitdiff
path: root/package/asterisk/patches/patch-main_astobj2_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-01-31 15:32:10 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-31 15:32:10 +0100
commit69f8e5c7f61a46b79a3a75036d8cfe86830023c1 (patch)
treea58988b85efb6635d7fbd0c5afaa62beae8b22bc /package/asterisk/patches/patch-main_astobj2_c
parent0551a2054198f2d8041bba5e10ff000905ee6a70 (diff)
parent480d62de9c308ee91711a980cd9d51e3e2806cef (diff)
Merge branch 'master' of git+ssh://wbx@openadk.org/git/openadk
Diffstat (limited to 'package/asterisk/patches/patch-main_astobj2_c')
-rw-r--r--package/asterisk/patches/patch-main_astobj2_c11
1 files changed, 0 insertions, 11 deletions
diff --git a/package/asterisk/patches/patch-main_astobj2_c b/package/asterisk/patches/patch-main_astobj2_c
deleted file mode 100644
index d8aaf114b..000000000
--- a/package/asterisk/patches/patch-main_astobj2_c
+++ /dev/null
@@ -1,11 +0,0 @@
---- asterisk-1.4.27.1.orig/main/astobj2.c 2009-10-06 03:16:36.000000000 +0200
-+++ asterisk-1.4.27.1/main/astobj2.c 2009-12-03 20:54:12.000000000 +0100
-@@ -236,7 +236,7 @@ int ao2_ref(void *user_data, const int d
- /* for safety, zero-out the astobj2 header and also the
- * first word of the user-data, which we make sure is always
- * allocated. */
-- bzero(obj, sizeof(struct astobj2 *) + sizeof(void *) );
-+ memset(obj, 0, sizeof(struct astobj2 *) + sizeof(void *) );
- free(obj);
- }
-