Commit 5ea7e619 authored by Arnaud Blanchard's avatar Arnaud Blanchard

Fix a bug in the channel list

parent 170393c5
......@@ -176,9 +176,9 @@ int blc_channel_get_all_infos(struct blc_channel **channels_infos)
{
channel_info.fscan_info(file, 1);
APPEND_ITEM(channels_infos, &channels_nb, &channel_info);
channel_info.dims=NULL; //Avoid dims to be removed
}
fclose(file);
channel_info.dims=NULL; //Avoid dims to be removed by the destructor while living.
return channels_nb;
}
......
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