From: Seven Du Date: Tue, 3 Feb 2015 15:04:17 +0000 (+0800) Subject: FS-7513: remove extra memset since it's already garanteed in switch_core_alloc X-Git-Tag: v1.6.2~614^2~443 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58a8d5daa6ff1f660f9e8be8b1461144f9b84fe8;p=thirdparty%2Ffreeswitch.git FS-7513: remove extra memset since it's already garanteed in switch_core_alloc --- diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index fad3cf0a97..7535ac27de 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -789,7 +789,6 @@ static void conference_parse_layouts(conference_obj_t *conference) } lg = switch_core_alloc(conference->pool, sizeof(*lg)); - memset(lg, 0, sizeof(*lg)); while(x_layout) { const char *name = x_layout->txt;