0.8.10claws77
[claws.git] / src / common / utils.c
index 0cd9ba6d0b6ab735bc88f061d66d0d33ad3a1844..24e153dc319b177cb8430064daac848c1ce3d2f2 100644 (file)
@@ -1249,6 +1249,8 @@ gchar *get_abbrev_newsgroup_name(const gchar *group, gint len)
        const gchar *p = group;
        const gchar *last;
 
+       g_return_val_if_fail(group != NULL, NULL);
+
        last = group + strlen(group);
        abbrev_group = ap = g_malloc(strlen(group) + 1);