summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/list.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/FacebookRM/src/list.hpp')
-rw-r--r--protocols/FacebookRM/src/list.hpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/protocols/FacebookRM/src/list.hpp b/protocols/FacebookRM/src/list.hpp
index 851645509b..d54811bb15 100644
--- a/protocols/FacebookRM/src/list.hpp
+++ b/protocols/FacebookRM/src/list.hpp
@@ -135,11 +135,8 @@ namespace List
help->prev->next = help->next;
help->next->prev = help->prev;
}
- if (help != NULL)
- {
- this->count--;
- delete help;
- }
+ this->count--;
+ delete help;
break;
}
}