cpml: protect cpml_primitive_to_cairo() against NULL
commit4f83e07f37529a4fb12f0307ed42007e5fa0563e
authorNicola Fontana <ntd@entidi.it>
Fri, 30 Jan 2015 11:43:15 +0000 (30 12:43 +0100)
committerNicola Fontana <ntd@entidi.it>
Fri, 30 Jan 2015 11:43:15 +0000 (30 12:43 +0100)
treea68e27e603f162f024bca81e54936ebcbbd6eac0
parent3015f6da00ef257b197f70b08af296aa80536d05
cpml: protect cpml_primitive_to_cairo() against NULL

Avoid crashing if primitive or cr are NULLs: just return without actions.
src/cpml/cpml-primitive.c