Realtime: Fix a bug that caused realtime destroy command to crash
authorJonathan Rose <jrose@digium.com>
Fri, 12 Sep 2014 16:19:19 +0000 (16:19 +0000)
committerJonathan Rose <jrose@digium.com>
Fri, 12 Sep 2014 16:19:19 +0000 (16:19 +0000)
commitdd6bdede7d78f52730a4a92e5abc15f8b19a8aba
treeb24658933d24aefb1e6e50549d232fe1cc4a7dd1
parentc212a71f0bd464e93eed947a03ba9414d1d42207
Realtime: Fix a bug that caused realtime destroy command to crash

Also has could affect with anything that goes through ast_destroy_realtime.
If a CLI user used the command 'realtime destroy <family>' with only a single
column/value pair, Asterisk would crash when trying to create a variable list
from a NULL value.

ASTERISK-24231 #close
Reported by: Niklas Larsson
Review: https://reviewboard.asterisk.org/r/3985/
........

Merged revisions 422984 from http://svn.asterisk.org/svn/asterisk/branches/12
........

Merged revisions 422985 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@422991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/config.c