diff options
Diffstat (limited to 'editor/ppmdraw.c')
-rw-r--r-- | editor/ppmdraw.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/editor/ppmdraw.c b/editor/ppmdraw.c index 5d426e90..1305a313 100644 --- a/editor/ppmdraw.c +++ b/editor/ppmdraw.c @@ -288,10 +288,10 @@ freeDrawCommand(const struct drawCommand * const commandP) { case VERB_SETLINECLIP: break; case VERB_SETCOLOR: - strfree(commandP->u.setcolorArg.colorName); + pm_strfree(commandP->u.setcolorArg.colorName); break; case VERB_SETFONT: - strfree(commandP->u.setfontArg.fontFileName); + pm_strfree(commandP->u.setfontArg.fontFileName); break; case VERB_LINE: break; @@ -305,7 +305,7 @@ freeDrawCommand(const struct drawCommand * const commandP) { break; case VERB_TEXT: case VERB_TEXT_HERE: - strfree(commandP->u.textArg.text); + pm_strfree(commandP->u.textArg.text); break; } @@ -677,7 +677,7 @@ disposeOfCommandTokens(struct tokenSet * const tokenSetP, { unsigned int i; for (i = 0; i < tokenSetP->count; ++i) - strfree(tokenSetP->token[i]); + pm_strfree(tokenSetP->token[i]); tokenSetP->count = 0; } /* Put the list element for this command at the tail of the list */ @@ -828,7 +828,7 @@ getScript(struct cmdlineInfo const cmdline, parseScript(scriptText, scriptPP); - strfree(scriptText); + pm_strfree(scriptText); } |