From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: [PATCH 2/3] Make it clear that xs_get_domain_path() requires free() Date: Tue, 01 Nov 2005 13:11:15 -0600 Message-ID: <4367BDD3.9020201@us.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040206030509050204050705" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------040206030509050204050705 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit --------------040206030509050204050705 Content-Type: text/plain; name="7574-xenconsole.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="7574-xenconsole.diff" # HG changeset patch # User Anthony Liguori # Node ID a44fde5c4e15bdf2f8b42fa41439d6725a5363dc # Parent 6de1d7b66c8a52ac6420f35aac03fe219caf87a3 Make it clear that the result of xs_get_domain_path() must be free()'d. diff -r 6de1d7b66c8a -r a44fde5c4e15 tools/xenstore/xs.h --- a/tools/xenstore/xs.h Tue Nov 1 11:08:31 2005 -0500 +++ b/tools/xenstore/xs.h Tue Nov 1 11:09:57 2005 -0500 @@ -136,7 +136,7 @@ */ bool xs_release_domain(struct xs_handle *h, unsigned int domid); -/* Query the home path of a domain. +/* Query the home path of a domain. Call free() after use. */ char *xs_get_domain_path(struct xs_handle *h, unsigned int domid); --------------040206030509050204050705 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------040206030509050204050705--