Closed Mathsoum closed 2 years ago
Solution: Plug that leak.
We append strings to two zlist using strdup but both zlists are autofree. autofree means that the appended values will be copied automatically, therefore there is no need for strdup.
strdup
autofree
Solution: Plug that leak.
We append strings to two zlist using
strdup
but both zlists areautofree
.autofree
means that the appended values will be copied automatically, therefore there is no need forstrdup
.