diff --git a/channels/iax2-parser.c b/channels/iax2-parser.c index 55c363f66c5ac5bf7b710d1dd8b1708ef34c6c57..010c85056313226a909f5c0f6cbc9302eaba0fa4 100644 --- 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)))) {