Delete an array on structure

Home Forums C Programming Delete an array on structure

This topic contains 0 replies, has 1 voice, and was last updated by  glimpse 10 years, 4 months ago.

  • Author
  • #2111


    Dear friends.
    I composed an array on a structure and fill the structures. Then I tried to free it again with the free-function, but I still get an error under Visual Studio.
    How do I do it correctly?

    Here my code for allocating and filling:

    and then I tried to free SoilVG with

    Thank you in advance.

You must be logged in to reply to this topic.