Module Name: src Committed By: leot Date: Fri Jun 7 16:43:58 UTC 2019
Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: Properly free section_clause. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/usr.sbin/makemandb/apropos-utils.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/makemandb/apropos-utils.c diff -u src/usr.sbin/makemandb/apropos-utils.c:1.44 src/usr.sbin/makemandb/apropos-utils.c:1.45 --- src/usr.sbin/makemandb/apropos-utils.c:1.44 Sat May 18 07:56:43 2019 +++ src/usr.sbin/makemandb/apropos-utils.c Fri Jun 7 16:43:58 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: apropos-utils.c,v 1.44 2019/05/18 07:56:43 abhinav Exp $ */ +/* $NetBSD: apropos-utils.c,v 1.45 2019/06/07 16:43:58 leot Exp $ */ /*- * Copyright (c) 2011 Abhinav Upadhyay <er.abhinav.upadh...@gmail.com> * All rights reserved. @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: apropos-utils.c,v 1.44 2019/05/18 07:56:43 abhinav Exp $"); +__RCSID("$NetBSD: apropos-utils.c,v 1.45 2019/06/07 16:43:58 leot Exp $"); #include <sys/queue.h> #include <sys/stat.h> @@ -649,7 +649,7 @@ generate_search_query(query_args *args, RETURN: sqlite3_free(machine_clause); - sqlite3_free(section_clause); + free(section_clause); sqlite3_free(limit_clause); return query; }