:eyes: I find the following statements suspicious because the initialisation with zeros is not needed for the mentioned memory areas. * [`new_cdtext = (Cdtext *) calloc (sizeof (cdtext) / sizeof (Cdtext), sizeof (Cdtext));`](https://github.com/lipnitsk/libcue/blob/7176a1faccecbfe2d4cca2f776177439ca49cad2/cdtext.c#L42 "Memory allocation for new_cdtext") * [`new_rem = (Rem*)calloc(sizeof(rem) / sizeof(Rem), sizeof(Rem));`](https://github.com/lipnitsk/libcue/blob/7176a1faccecbfe2d4cca2f776177439ca49cad2/rem.c#L49 "Memory allocation for new_rem") How do you think about to use the function “malloc” at these source code places? :thinking:
👀 I find the following statements suspicious because the initialisation with zeros is not needed for the mentioned memory areas.
new_cdtext = (Cdtext *) calloc (sizeof (cdtext) / sizeof (Cdtext), sizeof (Cdtext));new_rem = (Rem*)calloc(sizeof(rem) / sizeof(Rem), sizeof(Rem));How do you think about to use the function “malloc” at these source code places? 🤔