Diff
Not logged in

Differences From:

File src/tagview.c part of check-in [007d1ce44f] - Rename admin_sql_page.c to admin.c. Refactor the strxform functions into SQL functions. Refactor the db_generic_query_view() routine. Fix multiple security vulnerabilities. Bring the code closer into compliance with style guidelines. by drh on 2008-02-07 15:08:02. [view]

To:

File src/tagview.c part of check-in [2ae7890060] - fixed a 2-string memleak in tagview_page_list_tags() by stephan on 2008-02-07 18:01:50. [view]

@@ -69,8 +69,10 @@
     zLikeClause, zLimit
   );
   db_generic_query_view(zSql, 1);
   free(zSql);
+  if( strlen(zLikeClause) ) free(zLikeClause);
+  if( strlen(zLimit) ) free(zLimit);
 }
 
 /*
 ** A small search form which forwards to ?like=SEARCH_STRING