Overview
Comment: | OFSettings: Fix release after throw |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
5479feef2d565667755ceef657a783a9 |
User & Date: | js on 2022-04-19 16:28:39 |
Other Links: | manifest | tags |
Context
2022-04-19
| ||
16:28 | OFCountedMapTableSet: Fix uninitialized variable check-in: 48b0063c3f user: js tags: trunk | |
16:28 | OFSettings: Fix release after throw check-in: 5479feef2d user: js tags: trunk | |
2022-03-25
| ||
10:59 | Use nameSpace instead of namespace_ for C++ check-in: fb151035d0 user: js tags: trunk | |
Changes
Modified src/OFSettings.m from [020bd4039a] to [206814d076].
︙ | ︙ | |||
44 45 46 47 48 49 50 | - (instancetype)initWithApplicationName: (OFString *)applicationName { self = [super init]; @try { _applicationName = [applicationName copy]; } @catch (id e) { | < > | 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | - (instancetype)initWithApplicationName: (OFString *)applicationName { self = [super init]; @try { _applicationName = [applicationName copy]; } @catch (id e) { [self release]; @throw e; } return self; } - (void)dealloc { |
︙ | ︙ |