Hey Yadu,
really nice blog. Easy to read and to understand. All the important things to the point.
NitPick: There is a memory leak in your base64_decode function. You malloc memory for combined, but you don't free it in the end.
This is why garbage collectors a so useful right ;-)
Hi Norbert, Thanks for the appreciation. Also thank you for pointing out the issue. Yes, definitely, too much pain to look after all allocation/unallocation. Also, tbh, I really struggled to write this small function even with google copy-paste :P
Norbert Scheller
Passionate functional programmer
Hey Yadu, really nice blog. Easy to read and to understand. All the important things to the point.
NitPick: There is a memory leak in your base64_decode function. You malloc memory for combined, but you don't free it in the end. This is why garbage collectors a so useful right ;-)