]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7513: remove extra memset since it's already garanteed in switch_core_alloc
authorSeven Du <dujinfang@gmail.com>
Tue, 3 Feb 2015 15:04:17 +0000 (23:04 +0800)
committerMichael Jerris <mike@jerris.com>
Thu, 28 May 2015 17:46:57 +0000 (12:46 -0500)
src/mod/applications/mod_conference/mod_conference.c

index fad3cf0a97ff95f68493b4c91fc2849c84f83e74..7535ac27de47723b9de96bd37b8841109ef889e5 100644 (file)
@@ -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;