sdp: use g_strdup instead of strdup