free(private_display);
g_private_display = NULL;
+ if (tdm_debug_dump_dir) {
+ free(tdm_debug_dump_dir);
+ tdm_debug_dump_dir = NULL;
+ }
+
_pthread_mutex_unlock(&gLock);
TDM_INFO("done");
snprintf(temp, sizeof(temp), "%s", dump_str);
arg = strtok_r(temp, ",", &end);
+ TDM_GOTO_IF_FAIL(arg != NULL, done);
if (!strncmp(arg, "none", 4)) {
tdm_debug_dump = 0;