Skip to content
Snippets Groups Projects
Lucas De Marchi's avatar
Lucas De Marchi authored
No need to strdup() again since the fscanf() function is already
allocating the variable. Just set the pointer to NULL so we "leak" our
variable to be saved in the settings.

Tested-by: default avatarPeter Senna Tschudin <peter.senna@linux.intel.com>
Reviewed-by: default avatarPeter Senna Tschudin <peter.senna@linux.intel.com>
Reviewed-by: default avatarGustavo Sousa <gustavo.sousa@intel.com>
Link: https://lore.kernel.org/r/20250207231039.2883195-8-lucas.demarchi@intel.com


Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
dcc82e0e
History