From: Jonathan McDowell Date: Tue, 24 Mar 2009 20:47:43 +0000 (+0000) Subject: Ensure DB4 backend dbconns memory is initialised to zero X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/commitdiff_plain/61b6fcfd1226b6540c151c902f8b688545494736?hp=61b6fcfd1226b6540c151c902f8b688545494736 Ensure DB4 backend dbconns memory is initialised to zero Change to using calloc to allocate the memory for the dbconns array, as this will ensure that all the pointers in it are NULL which prevents us segfaulting on abnormal cleanup. Fixes the segfault from Debian bug #520117 but not the underlying issue. ---