> -----Original Message-----
> From: Stephen Hemminger <[email protected]>
> Sent: 07 June 2023 20:32
> To: Srikanth Yalavarthi <[email protected]>
> Cc: Anup Prabhu <[email protected]>; [email protected]; Shivah Shankar
> Shankar Narayan Rao <[email protected]>; Prince Takkar
> <[email protected]>
> Subject: [EXT] Re: [PATCH v4] app/mldev: add internal function for file read
>
> External Email
>
> ----------------------------------------------------------------------
> On Wed, 7 Jun 2023 04:35:56 -0700
> Srikanth Yalavarthi <[email protected]> wrote:
>
> > + if (file_buffer)
> > + free(file_buffer);
>
> Unnecessary if() since free(NULL) is ok.
Dropped if(). Updated in Version 5.