From a952147446af3305e46ea1c7139c951c2f777752 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Thu, 28 Jun 2007 19:41:18 +0000 Subject: Remove the ill-advised ast_restrdupa API call and related structures git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72492 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/res_config_pgsql.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'res/res_config_pgsql.c') diff --git a/res/res_config_pgsql.c b/res/res_config_pgsql.c index 821f32cc0..e8993dd86 100644 --- a/res/res_config_pgsql.c +++ b/res/res_config_pgsql.c @@ -208,7 +208,6 @@ static struct ast_config *realtime_multi_pgsql(const char *database, const char char *chunk; char *op; const char *newparam, *newval; - struct ast_realloca ra; struct ast_variable *var = NULL; struct ast_config *cfg = NULL; struct ast_category *cat = NULL; @@ -218,8 +217,6 @@ static struct ast_config *realtime_multi_pgsql(const char *database, const char return NULL; } - memset(&ra, 0, sizeof(ra)); - if (!(cfg = ast_config_new())) return NULL; -- cgit v1.2.3