[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Make it clear that the result of xs_get_domain_path() must be free()'d.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID d507f32afba966e8aadbf34c208c5fbaa5bf38db
# Parent  4ec05d64f202098695329880cd2d25514add6c03
Make it clear that the result of xs_get_domain_path() must be free()'d.

diff -r 4ec05d64f202 -r d507f32afba9 tools/xenstore/xs.h
--- a/tools/xenstore/xs.h       Wed Nov  2 10:24:49 2005
+++ b/tools/xenstore/xs.h       Wed Nov  2 10:25:08 2005
@@ -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);
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.