made code C89 compliant (changed unnamed union in attributes)
[libfirm] / ir / be / bechordal_draw.c
index 6e20f43..a6e2053 100644 (file)
@@ -150,7 +150,7 @@ const plotter_if_t ps_plotter_vtab = {
 
 plotter_t *new_plotter_ps(const char *filename)
 {
-  ps_plotter_t *ps_plotter = malloc(sizeof(*ps_plotter));
+  ps_plotter_t *ps_plotter = xmalloc(sizeof(*ps_plotter));
   plotter_t *p = (plotter_t *) ps_plotter;
 
   ps_plotter->filename = filename;