~ubuntu-branches/ubuntu/trusty/389-ds-base/trusty

« back to all changes in this revision

Viewing changes to ldap/servers/plugins/replication/repl5_mtnode_ext.c

  • Committer: Package Import Robot
  • Author(s): Timo Aaltonen
  • Date: 2013-08-30 00:31:55 UTC
  • mfrom: (1.2.1)
  • Revision ID: package-import@ubuntu.com-20130830003155-oimuzdqopkvp2cd0
Tags: 1.3.1.7-0ubuntu1
Sync from unreleased debian git.

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
            ext->replica = object_new(r, replica_destroy);
111
111
            if (replica_add_by_name (replica_get_name (r), ext->replica) != 0)
112
112
            {
113
 
                object_release (ext->replica);    
114
 
                ext->replica = NULL;
 
113
                if(ext->replica){
 
114
                    object_release (ext->replica);
 
115
                    ext->replica = NULL;
 
116
                }
115
117
            }
116
118
        }
117
119
        }