Added checks for failed strdups in cairo-recording-surface.c
The result of strdup() was not checked for out-of-memory conditions and the branches of two if-statements seemingly needed to be switched (also for out-of-memory cases).
The result of strdup() was not checked for out-of-memory conditions and the branches of two if-statements seemingly needed to be switched (also for out-of-memory cases).