GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

// old for (int input = 0; input < MAX_INPUTS + 1; input++) { sub[slot].udp_volts[input] = calloc(UDP_PER_RF_PER_SUB, sizeof(char *)); } // new char **pool = calloc(UDP_PER_RF_PER_SUB * (MAX_INPUTS + 1), sizeof(char *)); for (int input = 0; input < MAX_INPUTS + 1; input++) { sub[slot].udp_volts[input] = pool; pool = pool + UDP_PER_RF_PER_SUB; }

Download link

https://files.mastodon.social/media_attachments/files/113/446/405/039/360/776/original/ed6546a6957b294b.png

Notices where this attachment appears

  1. Embed this notice
    Christopher (shrydar@mastodon.social)'s status on Friday, 08-Nov-2024 18:00:36 JST Christopher Christopher

    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?

    In conversation about 6 months ago from mastodon.social permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

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.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.