projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b89ecf2
)
fix the potential use of an uninitialized variable
author
Russell Bryant
<russell@russellbryant.com>
Thu, 31 Jul 2008 19:39:25 +0000
(19:39 +0000)
committer
Russell Bryant
<russell@russellbryant.com>
Thu, 31 Jul 2008 19:39:25 +0000
(19:39 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@134916
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/iax2-parser.c
patch
|
blob
|
history
diff --git
a/channels/iax2-parser.c
b/channels/iax2-parser.c
index
55c363f
..
010c850
100644
(file)
--- a/
channels/iax2-parser.c
+++ b/
channels/iax2-parser.c
@@
-999,7
+999,7
@@
struct iax_frame *iax_frame_new(int direction, int datalen, unsigned int cacheab
#if !defined(LOW_MEMORY)
struct iax_frames *iax_frames = NULL;
- struct iax_frame *smallest;
+ struct iax_frame *smallest = NULL;
/* Attempt to get a frame from this thread's cache */
if ((iax_frames = ast_threadstorage_get(&frame_cache, sizeof(*iax_frames)))) {