[PATCH 6/6] device-restore: Add support for "factory settings".

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2012-10-25 at 20:37 +0300, Tanu Kaskinen wrote:
> +static int load_factory_settings(struct userdata *u, const char *filename) {
> +    FILE *f = NULL;
> +    char *fn;

Note to self: fn needs to be initialized to NULL, otherwise pa_xfree(fn)
can crash in the end of the function.

-- 
Tanu



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux