Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
build fix for previous commit
  • Loading branch information
perexg committed Jun 20, 2016
1 parent d3251df commit e598efc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/htsmsg_binary.c
Expand Up @@ -147,7 +147,7 @@ htsmsg_binary_deserialize(void *data, size_t len, const void *buf)
htsmsg_t *msg = htsmsg_create_map();
int r = htsmsg_binary_des0(msg, data, len);
if (r < 0) {
free(buf);
free((void *)buf);
htsmsg_destroy(msg);
return NULL;
}
Expand All @@ -158,7 +158,7 @@ htsmsg_binary_deserialize(void *data, size_t len, const void *buf)
memoryinfo_append(&htsmsg_memoryinfo, len);
#endif
} else {
free(buf);
free((void *)buf);
}
return msg;
}
Expand Down

0 comments on commit e598efc

Please sign in to comment.