Unverified Commit d9836ab1 authored by Julian Kranz's avatar Julian Kranz
Browse files

Bug fix for libgdsl-multiplex

parent d6284687
......@@ -71,7 +71,7 @@ size_t gdsl_multiplex_frontends_list_with_base(struct frontend_desc **descs, cha
if(frontend) {
if(frontends_length == frontends_size) {
frontends_size <<= 1;
*descs = (struct frontend_desc*) realloc(descs, sizeof(struct frontend_desc) * frontends_size);
*descs = (struct frontend_desc*) realloc(*descs, sizeof(struct frontend_desc) * frontends_size);
}
(*descs)[frontends_length++] = desc;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment