projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ac2c09
)
Fix unbalanced lock when serializing CDR variables
author
Matthew Jordan
<mjordan@digium.com>
Tue, 23 Jul 2013 00:16:59 +0000
(
00:16
+0000)
committer
Matthew Jordan
<mjordan@digium.com>
Tue, 23 Jul 2013 00:16:59 +0000
(
00:16
+0000)
I'm only surprised that this didn't cause larger problems.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395089
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/cdr.c
patch
|
blob
|
history
diff --git
a/main/cdr.c
b/main/cdr.c
index
056ca32
..
2e62095
100644
(file)
--- a/
main/cdr.c
+++ b/
main/cdr.c
@@
-3054,7
+3054,7
@@
int ast_cdr_serialize_variables(const char *channel_name, struct ast_str **buf,
total++;
}
}
-
+ ao2_unlock(cdr);
return total;
}