/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to plugins.d/mandos-client.c

  • Committer: Teddy Hogeborn
  • Date: 2014-06-07 20:28:32 UTC
  • Revision ID: teddy@recompile.se-20140607202832-02pucp4xd5nm646q
Minor bug fix in mandos-client: Remove memory leak for network hooks.

* plugins.d/mandos-client.c (runnable_hook): Call free() on full file
                                             name of network hook.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1359
1359
    }
1360
1360
    return 0;
1361
1361
  }
 
1362
  free(fullname);
1362
1363
  if(not (S_ISREG(st.st_mode))){
1363
1364
    /* Not a regular file */
1364
1365
    if(debug){