replace XFree by p_delete()
This commit is contained in:
parent
e47e1a4a23
commit
9d9b397649
|
@ -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
|
||||||
|
|
|
@ -168,7 +168,7 @@ _tile(awesome_config *awesomeconf, const Bool right)
|
||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
XFree(screens_info);
|
p_delete(&screens_info);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue