/* Parsing Helpers
*/
-#define FILTER_PARAM_PARSE_STRING(Param, Dest) \
+#define FILTER_PARAM_PARSE_STRING(Param, Dest, Copy) \
case ATK_ ## Param: { \
- (Dest) = param->value; \
+ (Dest) = (Copy) ? m_strdup(param->value) : param->value; \
} break
#define FILTER_PARAM_PARSE_INT(Param, Dest) \