Skip to content

Commit

Permalink
[dialog] fix bug - don't set repl to null after allocating it
Browse files Browse the repository at this point in the history
  • Loading branch information
ionutrazvanionita committed Feb 2, 2016
1 parent 23c02f3 commit 4468b4a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/dialog/dlg_profile.c
Expand Up @@ -492,8 +492,6 @@ static struct dlg_profile_table* new_dlg_profile( str *name, unsigned int size,
profile->has_value = (has_value==0)?0:1;
profile->repl_type = repl_type;

profile->repl = NULL;

/* init locks */
if (repl_type != CACHEDB) {
profile->locks = get_a_lock_set(size) ;
Expand Down

0 comments on commit 4468b4a

Please sign in to comment.