[dovecot/pigeonhole | refs/heads/master] 65a6af4b: global: hash_table_destroy(NULL) is a no-op

noreply at dovecot.org noreply at dovecot.org
Thu Jan 17 17:00:08 EET 2019


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/pigeonhole
  Commit: 65a6af4b96f94b362e163ff134bf7fe6e6114501
      https://github.com/dovecot/pigeonhole/commit/65a6af4b96f94b362e163ff134bf7fe6e6114501
  Author: Josef 'Jeff' Sipek <jeffpc at josefsipek.net>
  Date:   2019-01-16 (Wed, 16 Jan 2019)

  Changed paths:
    M src/lib-sieve/sieve-result.c
    M src/plugins/imapsieve/imap-sieve-storage.c

  Log Message:
  -----------
  global: hash_table_destroy(NULL) is a no-op

@@
expression E;
@@

- if (hash_table_is_created(E)) {
-       hash_table_destroy(&E);
- }
+ hash_table_destroy(&E);

  Patch: https://github.com/dovecot/pigeonhole/compare/43f5835b3830...65a6af4b96f9.patch


More information about the dovecot-cvs mailing list