forked from github/server
Merge branch 'master' into develop
This commit is contained in:
commit
b7253584f2
|
@ -294,7 +294,6 @@ void free_messagelist(mlist *msgs)
|
||||||
|
|
||||||
message *add_message(message_list ** pm, message * m)
|
message *add_message(message_list ** pm, message * m)
|
||||||
{
|
{
|
||||||
assert(m && m->type);
|
|
||||||
if (m != NULL) {
|
if (m != NULL) {
|
||||||
struct mlist *mnew = malloc(sizeof(struct mlist));
|
struct mlist *mnew = malloc(sizeof(struct mlist));
|
||||||
if (!mnew) abort();
|
if (!mnew) abort();
|
||||||
|
|
Loading…
Reference in New Issue