Don't try to dereference the dbfile pointer if
authorMark Michelson <mmichelson@digium.com>
Wed, 16 Jul 2008 19:57:02 +0000 (19:57 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 16 Jul 2008 19:57:02 +0000 (19:57 +0000)
commit255a968023813583ed759230fb0e2dc099e97638
treedd1bf4d4c8b6eb5b79c629301946206224288d7d
parentb35c06d8388732609ccec65b5bd8e93bd1c81e4b
Don't try to dereference the dbfile pointer if
we know that it's NULL.

(closes issue #13092)
Reported by: gknispel_proformatique
Patches:
      trunk_sqlite_check_vars_null.patch uploaded by gknispel (license 261)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@131361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_config_sqlite.c