summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSenko Rasic <senko.rasic@collabora.co.uk>2007-10-29 10:44:40 +0000
committerSenko Rasic <senko.rasic@collabora.co.uk>2007-10-29 10:44:40 +0000
commite1c05a6c1f65bd990038f10ff0beca086aefbb83 (patch)
treebe9106bd6f2e3a11bcd243558ff59809f788715f
parent158c39f3fa2509b5092f8b78ba28ef12c4e10914 (diff)
gabble_media_session_error(): access temporary array instead of just cleared private member
-rw-r--r--src/gabble-media-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gabble-media-session.c b/src/gabble-media-session.c
index 338fc130f..5c038cd52 100644
--- a/src/gabble-media-session.c
+++ b/src/gabble-media-session.c
@@ -635,7 +635,7 @@ gabble_media_session_error (TpSvcMediaSessionHandler *iface,
for (i = 0; i < tmp->len; i++)
{
- GabbleMediaStream *stream = g_ptr_array_index (priv->streams, i);
+ GabbleMediaStream *stream = g_ptr_array_index (tmp, i);
gabble_media_stream_error (stream, errno, message, NULL);
}