~ubuntu-branches/ubuntu/jaunty/avahi/jaunty-updates

« back to all changes in this revision

Viewing changes to avahi-daemon/dbus-async-host-name-resolver.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2006-07-27 15:46:57 UTC
  • mto: (4.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 43.
  • Revision ID: james.westby@ubuntu.com-20060727154657-dj89bwiz9b37j793
Tags: upstream-0.6.12
Import upstream version 0.6.12

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: dbus-async-host-name-resolver.c 1047 2005-12-31 16:16:22Z lennart $ */
 
1
/* $Id: dbus-async-host-name-resolver.c 1235 2006-07-15 20:15:30Z lennart $ */
2
2
 
3
3
/***
4
4
  This file is part of avahi.
38
38
 
39
39
    if (i->host_name_resolver)
40
40
        avahi_s_host_name_resolver_free(i->host_name_resolver);
41
 
    dbus_connection_unregister_object_path(server->bus, i->path);
 
41
 
 
42
    if (i->path) {
 
43
        dbus_connection_unregister_object_path(server->bus, i->path);
 
44
        avahi_free(i->path);
 
45
    }
42
46
    AVAHI_LLIST_REMOVE(AsyncHostNameResolverInfo, async_host_name_resolvers, i->client->async_host_name_resolvers, i);
43
47
 
44
48
    i->client->n_objects--;