replace XFree by p_delete()

This commit is contained in:
Julien Danjou 2007-10-23 16:36:27 +02:00
parent e47e1a4a23
commit 9d9b397649
2 changed files with 2 additions and 2 deletions

View File

@ -34,6 +34,6 @@ layout_max(awesome_config *awesomeconf)
resize(c, si[awesomeconf->screen].x_org, si[awesomeconf->screen].y_org, resize(c, si[awesomeconf->screen].x_org, si[awesomeconf->screen].y_org,
si[awesomeconf->screen].width - 2 * c->border, si[awesomeconf->screen].width - 2 * c->border,
si[awesomeconf->screen].height - 2 * c->border, awesomeconf, awesomeconf->resize_hints); si[awesomeconf->screen].height - 2 * c->border, awesomeconf, awesomeconf->resize_hints);
XFree(si); p_delete(&si);
} }
// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 // vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99

View File

@ -168,7 +168,7 @@ _tile(awesome_config *awesomeconf, const Bool right)
} }
i++; i++;
} }
XFree(screens_info); p_delete(&screens_info);
} }
void void