diff options
author | Stef Walter <stef@memberwebs.com> | 2006-05-10 21:55:16 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2006-05-10 21:55:16 +0000 |
commit | f9e890e07ed63a9bd14e36c74525f462ad7da015 (patch) | |
tree | cb092f498e60163f0cdb6faba4785895955b6251 /common/compat.c | |
parent | 8b041b40ac8567899c2b3c556705a837ca8b52cb (diff) |
Add proper licensing
Diffstat (limited to 'common/compat.c')
-rw-r--r-- | common/compat.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/common/compat.c b/common/compat.c index 8f89000..16fc14f 100644 --- a/common/compat.c +++ b/common/compat.c @@ -29,11 +29,6 @@ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH * DAMAGE. - * - * - * CONTRIBUTORS - * Nate Nielsen <nielsen@memberwebs.com> - * */ #include "compat.h" @@ -43,12 +38,10 @@ void* reallocf(void* ptr, size_t size) { - void* ret = realloc(ptr, size); - - if(!ret && size) - free(ptr); - - return ret; + void* ret = realloc(ptr, size); + if(!ret && size) + free(ptr); + return ret; } #endif |