summaryrefslogtreecommitdiff
path: root/source4/libcli/raw
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-24 01:51:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:09 -0500
commitaf4ce4805ce1504fc8869ead032eabb72fca77a0 (patch)
tree94e2cb1c22726296246b0b7f01d50dc643a0edbf /source4/libcli/raw
parent9c2c819b530d2c017a33f1c0d5b2266aaf40889e (diff)
downloadsamba-af4ce4805ce1504fc8869ead032eabb72fca77a0.tar.gz
samba-af4ce4805ce1504fc8869ead032eabb72fca77a0.tar.bz2
samba-af4ce4805ce1504fc8869ead032eabb72fca77a0.zip
r4954: we don't need the separate event_remove_*() calls any more, as you now
remove an event by calling talloc_free(). (This used to be commit 8f19b6886cc58a56d52aecfc83a175197061e533)
Diffstat (limited to 'source4/libcli/raw')
-rw-r--r--source4/libcli/raw/clitransport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/raw/clitransport.c b/source4/libcli/raw/clitransport.c
index c993fd7e60..1904618be9 100644
--- a/source4/libcli/raw/clitransport.c
+++ b/source4/libcli/raw/clitransport.c
@@ -318,7 +318,7 @@ void smbcli_transport_idle_handler(struct smbcli_transport *transport,
transport->idle.period = period;
if (transport->socket->event.te != NULL) {
- event_remove_timed(transport->socket->event.ctx, transport->socket->event.te);
+ talloc_free(transport->socket->event.te);
}
te.next_event = timeval_current_ofs(0, period);