---
title: "Comment by Norbert Scheller on \"ScalaNative - Build Native Applications In Scala\" | Hashnode"
description: "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 functio"
url: "https://hashnode.com/posts/scalanative-build-native-applications-in-scala/62695be9bbabafb0a9707c95/comment/6299bed3a5004f19f574e71f"
---

[Discussion](https://hashnode.com/posts/scalanative-build-native-applications-in-scala/62695be9bbabafb0a9707c95)

Comment [ScalaNative - Build Native Applications In Scala](https://hashnode.com/posts/scalanative-build-native-applications-in-scala/62695be9bbabafb0a9707c95)

[Norbert Scheller](https://hashnode.com/@norbertscheller)

[Jun 3, 2022](https://hashnode.com/posts/scalanative-build-native-applications-in-scala/62695be9bbabafb0a9707c95/comment/6299bed3a5004f19f574e71f)

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 ;-)

[Yadukrishnan](https://hashnode.com/@yadukrishnan)

[Jun 4, 2022](https://hashnode.com/posts/scalanative-build-native-applications-in-scala/62695be9bbabafb0a9707c95/comment/6299bed3a5004f19f574e71f#reply-629bb0910522383652636104)

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
