<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=875533211-26032008><FONT face=Arial size=2>Dear
All,</FONT></SPAN></DIV>
<DIV><SPAN class=875533211-26032008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=875533211-26032008><FONT face=Arial size=2>In the splint manual
on page 83 (PDF), we have transfer errors.</FONT></SPAN></DIV>
<DIV><SPAN class=875533211-26032008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=875533211-26032008><FONT face=Arial size=2>We are are not able
to understand the </FONT></SPAN></DIV>
<DIV><SPAN class=875533211-26032008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=875533211-26032008><FONT face=Arial size=2>- only-trans : Only
storage transferred to non-only reference.</FONT></SPAN></DIV>
<DIV><SPAN class=875533211-26032008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=875533211-26032008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=875533211-26032008><FONT face=Arial size=2>cmt_group_file =
(char *) calloc (1,len+1);</FONT></SPAN></DIV>
<DIV><SPAN class=875533211-26032008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=875533211-26032008><FONT face=Arial size=2>The splint warning
for above code is </FONT></SPAN></DIV>
<DIV><SPAN class=875533211-26032008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=875533211-26032008><FONT face=Arial size=2>file.c:837:29: Only
storage assigned to unqualified
static:<BR>
cmt_group_file = (char *)calloc(1, len + 1)<BR> The only reference to this
storage is transferred to another reference (e.g.,<BR> by returning it)
that does not have the only annotation. This may lead to a<BR> memory
leak, since the new reference is not necessarily released. (Use<BR>
-onlytrans to inhibit warning)</FONT></SPAN></DIV>
<DIV><SPAN class=875533211-26032008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=875533211-26032008><FONT face=Arial size=2>Kindly help us in
understanding the meaning of -only-trans.</FONT></SPAN></DIV>
<DIV><SPAN class=875533211-26032008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=875533211-26032008><FONT face=Arial
size=2>Regards</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face="Trebuchet MS" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Trebuchet MS'">Deepak
Bhatia</SPAN></FONT></DIV>
<DIV> </DIV></BODY></HTML>