[LAD] C - Change in memory causing seg.fault (but why?)

Muffinman news at koster.tk
Thu Nov 8 21:18:16 UTC 2012


On 08-11-12 22:02, Brett McCoy wrote:
> 
> You never allocate memory for the pointer long *outvl after you create
> it, but then try to point to a value. You need to use malloc() to
> initialize the memory for that pointer before you can use it.
> 


Thanks!! I believe I have some more reading to do.



More information about the Linux-audio-dev mailing list