Memory Leaks And How To Prevent Them | C Programming Tutorial

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

this is one of the best, if not the best tutorials to explain memory leaks, thank you so much for the great content <3

metmay
Автор

Thanks for the great explanation on memory leaks! Going to fix my code now. I'm managing a small amount of data but I need to build good habit patterns.

neilranada
Автор

You have such a deep knowledge of C. Thank you very very interesting.

Avionics
Автор

Hi sir
I have one doubt how does free function know how much memory should be deallocate in c programming language and how to free the memory without using free function
Can you pls do a video on this topic's it will helpful sir..
Thank you...

ramakrishna
Автор

I have a question does memory leak still happen when we close that program?

yogeshchauhan
Автор

I noted that the allocate function didn't free the memory after it was over, but when memory was allocated in main function it was cleared after the program was done running.

So does this mean that when a program is terminated entirely that all the memory it allocated is automatically cleared?

I'm wondering, if when I work on a large program that will inevitably will crash from time to time as I test it, if I might be left with memory left allocated on the heap.

This happened to me a month or so ago when I was messing with Opengl in Python and didn't use the proper command to clear it's buffers and a circle was left on my screen and my sound stopped working until I rebooted lol.

undeadpresident
welcome to shbcf.ru