Merged revisions 273565 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Thu, 1 Jul 2010 22:16:23 +0000 (22:16 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 1 Jul 2010 22:16:23 +0000 (22:16 +0000)
commit00654ddd160aa7f53f575f4988153ed41d1d0a00
treeace8e8cf9e7c487ad1108a470e716c5045c081f5
parentb840ef081e9a4aeac1fa22b1698ebef7c8865004
Merged revisions 273565 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r273565 | russell | 2010-07-01 17:09:19 -0500 (Thu, 01 Jul 2010) | 7 lines

  Don't return a partially initialized datastore.

  If memory allocation fails in ast_strdup(), don't return a partially
  initialized datastore.  Bad things may happen.

  (related to ABE-2415)
........

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