Name: espp-service
Summary: ESPP service package which contains client lib. and daemon binary
-Version: 0.3.16
+Version: 0.3.17
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0
if (pthread_create(&work_thread_id, &attr, (void *)__work_thread_func, (void *)userdata)) {
LOG_ERROR("failed to pthread_create(), client_fd[%d]", client_fd);
+ g_free(userdata);
goto exit;
}
}
if (client_fd >= 0)
close(client_fd);
- if (userdata)
- g_free(userdata);
-
LOG_DEBUG("pthread_exit()");
pthread_attr_destroy(&attr);
pthread_exit(NULL);