diff options
-rw-r--r-- | src/xkbout.c | 2 | ||||
-rw-r--r-- | src/xkbtext.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/xkbout.c b/src/xkbout.c index f988eec..1a2b869 100644 --- a/src/xkbout.c +++ b/src/xkbout.c @@ -268,7 +268,7 @@ char *tmp; xkb= result->xkb; tmp = XkbAtomGetString(xkb->dpy, name); fprintf(file," indicator \"%s\" {\n",tmp); - xfree(tmp); + _XkbFree(tmp); if (led->flags&XkbIM_NoExplicit) fprintf(file," !allowExplicit;\n"); if (led->flags&XkbIM_LEDDrivesKB) diff --git a/src/xkbtext.c b/src/xkbtext.c index 672e651..577bdb5 100644 --- a/src/xkbtext.c +++ b/src/xkbtext.c @@ -99,7 +99,7 @@ char *rtrn,*tmp; rtrn= tbGetBuffer(len); strncpy(rtrn,tmp,len); rtrn[len]= '\0'; - Xfree(tmp); + _XkbFree(tmp); } else { rtrn= tbGetBuffer(1); @@ -135,7 +135,7 @@ char *rtrn,*tmp; else if (vmodNames&&(vmodNames[ndx]!=None)) tmp= XkbAtomGetString(dpy,vmodNames[ndx]); if (tmp==NULL) { - tmp= Xalloc(20 * sizeof(char)); + tmp= (char *)_XkbAlloc(20 * sizeof(char)); snprintf(tmp,20,"%d",ndx); } @@ -149,7 +149,7 @@ char *rtrn,*tmp; snprintf(rtrn, len, "vmod_%s", tmp); } else strncpy(rtrn,tmp,len); - Xfree(tmp); + _XkbFree(tmp); return rtrn; } |