Jordi Pujol, le ven. 01 nov. 2019 15:38:19 +0100, a ecrit: > + options = g_getenv("SMBDOPTIONS"); > + if (options) { > + smb_cmdline = g_strdup_printf("%s %s", smb_cmdline, options); > + } > + g_free(options);
But then do not free it :) Samuel
Jordi Pujol, le ven. 01 nov. 2019 15:38:19 +0100, a ecrit: > + options = g_getenv("SMBDOPTIONS"); > + if (options) { > + smb_cmdline = g_strdup_printf("%s %s", smb_cmdline, options); > + } > + g_free(options);
But then do not free it :) Samuel