TM: Don't call tm_tags_dedup() on a NULL array
This commit is contained in:
parent
d6c98f5ae6
commit
6e9c126b33
@ -1073,7 +1073,8 @@ tm_workspace_find_scope_members (TMSourceFile *source_file, const char *name,
|
||||
g_ptr_array_free(tags, TRUE);
|
||||
}
|
||||
|
||||
tm_tags_dedup(member_tags, sort_attr, FALSE);
|
||||
if (member_tags)
|
||||
tm_tags_dedup(member_tags, sort_attr, FALSE);
|
||||
|
||||
return member_tags;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user