Commit graph

3 commits

Author SHA1 Message Date
RyuzakiKK
b8972e885c tests: free TzInfo
The timezone information is allocated with `tz_info_from_location` but
never deallocated.
LeakSanitizer complains about this memory leak.

```
Direct leak of 13568 byte(s) in 424 object(s) allocated from:
/build/gcc/src/gcc/libsanitizer/asan/asan_malloc_linux.cc:95
    #1 0x7f63899bab21 in g_malloc0 (/usr/lib/libglib-2.0.so.0+0x51b21)
../tests/datetime/test-timezone-gfx.c:30
    #3 0x7f63899dc76a  (/usr/lib/libglib-2.0.so.0+0x7376a)
```
2018-08-24 14:43:29 +00:00
Georges Basile Stavracas Neto
c23e8f3547 tests: Rework test-timezone-gfx 2018-05-09 18:33:18 -03:00
Benjamin Berg
b15be07738 Move datetime tests into tests subdirectory 2018-04-17 15:26:59 +02:00
Renamed from panels/datetime/test-timezone-gfx.c (Browse further)