diff options
| author | Noriko Hosoi <nhosoi@redhat.com> | 2010-07-02 11:35:42 -0700 |
|---|---|---|
| committer | Noriko Hosoi <nhosoi@redhat.com> | 2010-07-23 13:21:58 -0700 |
| commit | 110546612d0e004363cee2dc77fd451967940ebc (patch) | |
| tree | ff227ca82a6d604358b243b76a36f8e54755e04a /lib/libaccess/register.cpp | |
| parent | 92bf4eb29d084d72ab55c09f830f62fd4aadce2d (diff) | |
| download | ds-110546612d0e004363cee2dc77fd451967940ebc.tar.gz ds-110546612d0e004363cee2dc77fd451967940ebc.tar.xz ds-110546612d0e004363cee2dc77fd451967940ebc.zip | |
610281 - fix coverity Defect Type: Control flow issues
https://bugzilla.redhat.com/show_bug.cgi?id=610281
11800 DEADCODE Triaged Unassigned Bug Minor Fix Required
cos_cache_add_defn() ds/ldap/servers/plugins/cos/cos_cache.c
Comment:
If theDef points to the allocated memory at the line 1410, ret never becomes -1. Thus, theDef never be non-NULL at 1497. Removing
1497 if(theDef)
1498 slapi_ch_free((void**)&theDef);
11801 DEADCODE Triaged Unassigned Bug Minor Fix Required
cos_cache_follow_pointer() ds/ldap/servers/plugins/cos/cos_cache.c
Comment:
default is not needed:
3525 default:
3526 goto bail;
Diffstat (limited to 'lib/libaccess/register.cpp')
0 files changed, 0 insertions, 0 deletions
