~onli/simdock/master

« back to all changes in this revision

Viewing changes to src/xstuff.cc

  • Committer: onli
  • Date: 2014-12-08 00:46:32 UTC
  • Revision ID: git-v1:20fec288caac812fcbe2d3cc7a9cdb06c539a808
Tags: 1.4
fix free/delete mismatch on con close

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
xstuff_closeConnection(xcb_ewmh_connection_t* ewmh_conn) {
79
79
    xcb_ewmh_connection_wipe(ewmh_conn);
80
80
    xcb_disconnect(ewmh_conn->connection);
81
 
    free(ewmh_conn);
 
81
    delete ewmh_conn;
82
82
}
83
83