going slightly mad. Old code is fine, new is borked. These buffers are never freed (just left for OS to clean up when program exits).
anyone?
going slightly mad. Old code is fine, new is borked. These buffers are never freed (just left for OS to clean up when program exits).
anyone?
@zirias a long way down the line a map of which pointers were never initialised to point to data has a mismatch with data output by concatenating the data pointed to with runs of zeros for null pointers. Changing the params to calloc seems to fix it (cf other reply in thread), which makes no sense at all. Weekend time now I think.
`.udp_volts` is a char***
(a few lines earlier there's a `sub[slot].udp_volts = calloc(MAX_INPUTS + 1, sizeof(char **));` )
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.