Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2019-12-25 22:57:22 +0300
committerMichael Grunder <michael.grunder@gmail.com>2020-02-07 01:14:46 +0300
commit46da22b09b31a9d2ad8a6403f9684c99cf7ee60b (patch)
treea1e4abfb88ca299f90891dfa4ea6828ad936dba6 /redis_sentinel.c
parent90cb69f37f628bec74a8dc7ebb41a5e2597b5dd5 (diff)
Fix memory leak and add copyright header
Diffstat (limited to 'redis_sentinel.c')
-rw-r--r--redis_sentinel.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/redis_sentinel.c b/redis_sentinel.c
index 77ec0fdd..f4729d78 100644
--- a/redis_sentinel.c
+++ b/redis_sentinel.c
@@ -1,3 +1,20 @@
+/*
+ +----------------------------------------------------------------------+
+ | Copyright (c) The PHP Group |
+ +----------------------------------------------------------------------+
+ | This source file is subject to version 3.01 of the PHP license, |
+ | that is bundled with this package in the file LICENSE, and is |
+ | available through the world-wide-web at the following url: |
+ | http://www.php.net/license/3_01.txt |
+ | If you did not receive a copy of the PHP license and are unable to |
+ | obtain it through the world-wide-web, please send a note to |
+ | license@php.net so we can mail you a copy immediately. |
+ +----------------------------------------------------------------------+
+ | Author: Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> |
+ | Maintainer: Michael Grunder <michael.grunder@gmail.com> |
+ +----------------------------------------------------------------------+
+*/
+
#include "php_redis.h"
#include "redis_commands.h"
#include "redis_sentinel.h"