Change-Id: I5afd66ad1364c5eff633144124bc3c6accec3208
:q!q!Signed-off-by: aman.jeph <aman.jeph@samsung.com>
} else {
ugd->is_caller_attach_panel = FALSE;
}
-
+ if(contact_id) {
+ free(contact_id);
+ contact_id = NULL;
+ }
ugd->base = __attachPanelVoiceRecorder_create_fullview(parent, ugd);
} else {
LOGD("invalid mode: %s", display_mode);
}
+ free(display_mode);
+ display_mode = NULL;
}
}
}
} else {
view->limitsize = atoi(size_limit);
}
-
+ if(size_limit)
+ {
+ free(size_limit);
+ size_limit = NULL;
+ }
LOGD("Size limit = %llu", view->limitsize);
_recorder_create(view);