default:
g_assert_not_reached(); /* unhandled size */
}
- *num = ret_items;
- ret = TRUE;
}
+ *num = ret_items;
+ ret = TRUE;
XFree(xdata);
}
return ret;
}
}
if (found)
- g_print("%s(%s) = %s\n", name, type, val);
+ g_print("%s(%s) = %s\n", name, type, (val ? val : ""));
g_free(val);
}