On Wed, Feb 4, 2015 at 1:52 PM, Carl Worth <cwo...@cworth.org> wrote:
> -   snprintf(cache->path, sizeof cache->path,
> -            "%s/.cache/mesa", pwd.pw_dir);
> +   cache->path = strdup(path);
> +   if (cache->path == NULL) {
> +      free (cache);

No space after the function name.

> +      cache = NULL;
> +      goto done;
> +   }
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to