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:Peter Senna Tschudin <peter.senna@linux.intel.com> Reviewed-by:
Peter Senna Tschudin <peter.senna@linux.intel.com> Reviewed-by:
Gustavo Sousa <gustavo.sousa@intel.com> Link: https://lore.kernel.org/r/20250207231039.2883195-8-lucas.demarchi@intel.com Signed-off-by:
Lucas De Marchi <lucas.demarchi@intel.com>