Changeset 685e96f


Ignore:
Timestamp:
Mar 7, 2010, 10:26:18 PM (15 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.10, release-1.6, release-1.7, release-1.8, release-1.9
Children:
8d4b521
Parents:
8f2d9bf
git-author:
Anders Kaseorg <andersk@mit.edu> (02/27/10 22:29:14)
git-committer:
Anders Kaseorg <andersk@mit.edu> (03/07/10 22:26:18)
Message:
Rename owl_cmd_free to owl_cmd_cleanup.

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

Legend:

Unmodified
Added
Removed
  • cmd.c

    r8f2d9bf r685e96f  
    155155}
    156156
    157 void owl_cmd_free(owl_cmd *cmd) {
     157void owl_cmd_cleanup(owl_cmd *cmd)
     158{
    158159  if (cmd->name) owl_free(cmd->name);
    159160  if (cmd->summary) owl_free(cmd->summary);
     
    166167void owl_cmd_delete(owl_cmd *cmd)
    167168{
    168   owl_cmd_free(cmd);
     169  owl_cmd_cleanup(cmd);
    169170  owl_free(cmd);
    170171}
Note: See TracChangeset for help on using the changeset viewer.