From ace4871b2c51c4430bed04424b14d3c2f4ac0029 Mon Sep 17 00:00:00 2001
From: Aleksey Lim <alsroot@activitycentral.org>
Date: Fri, 15 Jul 2011 01:43:25 +0000
Subject: [PATCH] telepathy-gabble segfaluts on activity launch #2973
---
src/conn-olpc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/conn-olpc.c b/src/conn-olpc.c
index 655a5cc..6448578 100644
a
|
b
|
find_activity_by_id (GabbleConnection *self, |
3023 | 3023 | while (g_hash_table_iter_next (&iter, &key, &value)) |
3024 | 3024 | { |
3025 | 3025 | GabbleOlpcActivity *activity = GABBLE_OLPC_ACTIVITY (value); |
3026 | | if (strcmp (activity->id, activity_id) == 0) |
| 3026 | if (activity->id != NULL && strcmp (activity->id, activity_id) == 0) |
3027 | 3027 | return activity; |
3028 | 3028 | } |
3029 | 3029 | |