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

Tanu Kaskinen tanu.kaskinen at jollamobile.com
Fri Oct 26 10:32:43 PDT 2012


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



More information about the pulseaudio-discuss mailing list