Followup to issue #37: Missed strdup() checks.                [SQUASHME]
Followup to issue #37: Missed strdup() checks.                [SQUASHME]

After comment from @peda-r:

- Handle strdup() failure in cfg_dupopt_array()
- Handle strdup() failure in cfg_opt_setnstr()

Signed-off-by: Joachim Nilsson <583c295fd7602c168ad814279bbc3894ba65f5d6@gmail.com>

martinh/libconfuse,troglobit/libconfuse,martinh/libconfuse,peda-r/libconfuse,westermo/libconfuse,westermo/libconfuse,peda-r/libconfuse,troglobit/libconfuse