Changeset 27f6487 for commands.c


Ignore:
Timestamp:
Aug 22, 2009, 12:47:44 AM (12 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
f4d4a00
Parents:
0e5afa2
git-author:
Anders Kaseorg <andersk@mit.edu> (08/21/09 23:19:56)
git-committer:
Anders Kaseorg <andersk@mit.edu> (08/22/09 00:47:44)
Message:
Consistently use owl_malloc and friends.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • commands.c

    r9e5c9f3 r27f6487  
    19231923      newbuff=owl_strdup("");
    19241924      while (myargc) {
    1925         newbuff=realloc(newbuff, strlen(newbuff)+strlen(myargv[0])+5);
     1925        newbuff=owl_realloc(newbuff, strlen(newbuff)+strlen(myargv[0])+5);
    19261926        strcat(newbuff, myargv[0]);
    19271927        strcat(newbuff, " ");
Note: See TracChangeset for help on using the changeset viewer.