Re: patch for macOS screenshot dir (Was: [hatari-devel] Screenshots are saved in Hatari installation directory) |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: patch for macOS screenshot dir (Was: [hatari-devel] Screenshots are saved in Hatari installation directory)
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Sun, 25 Feb 2018 20:30:25 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1519587028; bh=7xVoX8xgH3uKa4ss30QUfxO7DE1NOT2lg3TE8uQifFk=; h=Date:From:To:Subject:From; b=Uh85ReT0FmBHQJ/3at87CsETDqgeslYDtuE7tNa47Z8tsyWvckJwaAwWAlJP/hHag Y8nUQmBNOjHPJTZ9IBEDVkEzvm4nDeczpjKwwKT5/23twgQD3l3UERznIU02/T6UJC 5eZTV8dP8SxpLfYd1GOjlWYUXPICGy9bNF0aigBinqRH5GUvHujXpEOesAxbzTL2KB ok+ooqeygGjCOJQGK6IwkHd69qwC0Zi28OXFGVqWBn6bRIoiPXXdVKxmDebhy7dn+9 cUQidoTGV/jZHuIbTCwNRWvUpl1Xr5q+7ltEhQ62Et5EnLneMl79LkFIwT/MhQqghk RcLKkSBKvCb8w==
Am Sun, 25 Feb 2018 13:27:58 +0100
schrieb Nicolas Pomarède <npomarede@xxxxxxxxxxxx>:
> Le 19/02/2018 à 12:04, Nicolas Pomarède a écrit :
> > Le 17/02/2018 à 01:05, Troed Sångberg a écrit :
> >> Hi all,
> >>
> >> Thanks for the quick testing! Patch attached.
[...]
>
> patch applied to main sources tree (I just added a check before the
> "free" in Paths_Init() )
Just FYI: free() has always a built-in NULL-pointer check, so you don't
need to check that a pointer is != NULL before calling free().
Cheers,
Thomas