rem: (unsigned char **)state)!=Success)
add: (unsigned char **)&data)!=Success || !data)
context: getSavedState(Window window, WSavedState **state){    Atom type_ret;    int fmt_ret;    unsigned long nitems_ret;    unsigned long bytes_after_ret;        if (XGetWindowProperty(dpy, window, _XA_WINDOWMAKER_STATE, 0, 			   sizeof(WSavedState), 			   True, _XA_WINDOWMAKER_STATE,			   &type_ret, &fmt_ret, &nitems_ret, &bytes_after_ret,			   (unsigned char **)state)!=Success)      return 0;    if (type_ret==_XA_WINDOWMAKER_STATE)      return 1;    else       return 0;}