Re: [PATCH v2 0/7] virtiofsd: Changed various allocations to GLib functions

2021-05-06 Thread Dr. David Alan Gilbert
* Mahmoud Mandour (ma.mando...@gmail.com) wrote: > Replaced allocations done using malloc(), calloc(), and realloc() > to their equivalent functions in GLib. > > Memory that is allocated locally and freed when the function exits > are annotated g_autofree so that the deallocation is automatically

[PATCH v2 0/7] virtiofsd: Changed various allocations to GLib functions

2021-04-20 Thread Mahmoud Mandour
Replaced allocations done using malloc(), calloc(), and realloc() to their equivalent functions in GLib. Memory that is allocated locally and freed when the function exits are annotated g_autofree so that the deallocation is automatically handled. Subsequently, I could remove a bunch of free() cal