[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] fix sqlite error message leak

From: David Glasser <glasser_at_mit.edu>
Date: 2007-06-07 17:43:05 CEST

Reading through the sqlite3 API, it appears that the caller of
sqlite3_exec is responsible for freeing any error message string that
is returned. The following patch does this for the mergeinfo code.
Since this is my first time working with the mergeinfo code or sqlite3
in general, I'm posting this for review instead of just committing.

--dave

[[[
* subversion/libsvn_fs_util/mergeinfo-sqlite-index.c
  (util_sqlite_exec): Don't leak the error string returned from
   sqlite3_exec.
]]]

-- 
David Glasser | glasser_at_mit.edu | http://www.davidglasser.net/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Thu Jun 7 17:43:21 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.