162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
* escapeCString already throws an exception,
* no need to throw a second one here.
*/
free(xml);
return NULL;
}
if (OF_UNLIKELY(!xf_resize_chars(&xml, &len, 1 + strlen(arg) +
2 + strlen(esc_val) + 1))) {
free(esc_val);
@throw [OFNoMemException
newWithObject: nil
andSize: len + 1 + strlen(arg) + 2 +
strlen(esc_val) + 1];
}
|
|
|
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
* escapeCString already throws an exception,
* no need to throw a second one here.
*/
free(xml);
return NULL;
}
if (OF_UNLIKELY(!xf_resize_chars(&xml, &len, 1 + strlen(arg) +
2 + strlen(esc_val) + 1))) {
free(esc_val);
@throw [OFNoMemException
newWithObject: nil
andSize: len + 1 + strlen(arg) + 2 +
strlen(esc_val) + 1];
}
|