if (!cand) {
/* might be a .local candidate */
char *prefix = NULL, *address = NULL, *postfix = NULL;
+#ifndef __TIZEN__
char *new_addr, *new_candidate;
+#else
+ char *new_addr = NULL, *new_candidate = NULL;
+#endif
char *new_candv[4] = { NULL, };
if (!get_candidate_address (candidate, &prefix, &address, &postfix)) {
cand =
nice_agent_parse_remote_candidate_sdp (ice->priv->nice_agent,
item->nice_stream_id, new_candidate);
+#ifndef __TIZEN__
g_free (new_candidate);
+#endif
if (!cand) {
GST_WARNING_OBJECT (ice, "Could not parse candidate \'%s\'",
new_candidate);
goto fail;
}
+#ifdef __TIZEN__
+ g_free (new_addr);
+ g_free (new_candidate);
+ g_free (prefix);
+ g_free (address);
+ g_free (postfix);
+#else
g_free (prefix);
g_free (new_addr);
g_free (postfix);
+#endif
if (0) {
fail:
+#ifdef __TIZEN__
+ g_free (new_addr);
+ g_free (new_candidate);
+#endif
g_free (prefix);
g_free (address);
g_free (postfix);